Re: [PATCH v4 10/10] thp: implement refcounting for huge zero page

2012-10-22 Thread Kirill A. Shutemov
On Mon, Oct 22, 2012 at 11:43:49PM -0700, Andrew Morton wrote: > On Tue, 23 Oct 2012 09:35:32 +0300 "Kirill A. Shutemov" > wrote: > > > On Fri, Oct 19, 2012 at 02:59:41AM +0300, Kirill A. Shutemov wrote: > > > On Thu, Oct 18, 2012 at 04:45:02PM -0700, Andrew Morton wrote: > > > > On Mon, 15 Oct

Re: [PATCH 08/16 v2] f2fs: add file operations

2012-10-22 Thread Marco Stornelli
2012/10/23 Jaegeuk Kim : > This adds memory operations and file/file_inode operations. > > - F2FS supports fallocate(), mmap(), fsync(), and basic ioctl(). > > Signed-off-by: Jaegeuk Kim > --- > fs/f2fs/file.c | 640 > > 1 file changed, 6

[PATCH firmware] rtl_nic: update firmware for RTL8168G

2012-10-22 Thread Hayes Wang
File: rtl_nic/rtl8168g-1.fw Version: 0.0.3 Signed-off-by: Hayes Wang --- WHENCE| 2 +- rtl_nic/rtl8168g-1.fw | Bin 4272 -> 4304 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/WHENCE b/WHENCE index 6bc7417..2565fa2 100644 --- a/WHENCE +++ b/WHENCE @@ -1835,7

Re: drm i915 hangs on heavy io load

2012-10-22 Thread Dave Airlie
> > (please Cc) > > I am running 3.7-rc2 and got recently hit a few times (under rc1, too) > by hanging drm i915 while doing large io operations. Does booting with i915.i915_enable_rc6=0 help? (Daniel, looks like an ironlake). Dave. -- To unsubscribe from this list: send the line "unsubscribe li

Re: Build regressions/improvements in v3.7-rc2

2012-10-22 Thread Heiko Carstens
On Mon, Oct 22, 2012 at 09:50:26PM +0200, Geert Uytterhoeven wrote: > On Mon, Oct 22, 2012 at 9:47 PM, Geert Uytterhoeven > wrote: > > JFYI, when comparing v3.7-rc2 to v3.7-rc1[3], the summaries are: > > - build errors: +4/-44 > > + arch/s390/include/asm/kvm_para.h: error: redefinition of > '

Re: [PATCH v2 1/3] pppoatm: don't send frames to destroyed vcc

2012-10-22 Thread David Miller
David, if you could review this series I'd really appreciate it. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tu

Re: [PATCH 04/16 v2] f2fs: add super block operations

2012-10-22 Thread Marco Stornelli
2012/10/23 Jaegeuk Kim : > This adds the implementation of superblock operations for f2fs, which includes > - init_f2fs_fs/exit_f2fs_fs > - f2fs_mount > - super_operations of f2fs > > Signed-off-by: Jaegeuk Kim > --- > fs/f2fs/super.c | 590 >

Re: [PATCH 02/16 v2] f2fs: add on-disk layout

2012-10-22 Thread Marco Stornelli
2012/10/23 Jaegeuk Kim : > This adds a header file describing the on-disk layout of f2fs. > > Signed-off-by: Changman Lee > Signed-off-by: Chul Lee > Signed-off-by: Jaegeuk Kim > --- > include/linux/f2fs_fs.h | 362 > +++ > 1 file changed, 362 inser

Re: [patch/rfc/rft] sd: allocate request_queue on device's local numa node

2012-10-22 Thread Bart Van Assche
On 10/22/12 21:01, Jeff Moyer wrote: All of the infrastructure is available to allocate a request_queue on a particular numa node, but it isn't being utilized at all. Wire up the sd driver to allocate the request_queue on the HBA's local numa node. This is a request for comments and testing (I'

Re: [PATCH v4 10/10] thp: implement refcounting for huge zero page

2012-10-22 Thread Andrew Morton
On Tue, 23 Oct 2012 09:35:32 +0300 "Kirill A. Shutemov" wrote: > On Fri, Oct 19, 2012 at 02:59:41AM +0300, Kirill A. Shutemov wrote: > > On Thu, Oct 18, 2012 at 04:45:02PM -0700, Andrew Morton wrote: > > > On Mon, 15 Oct 2012 09:00:59 +0300 > > > "Kirill A. Shutemov" wrote: > > > > > > > H. Pe

[PATCH v2 net-next 1/2] r8169: enable ALDPS for power saving

2012-10-22 Thread Hayes Wang
Enable ALDPS function to save power when link down. Note that the feature should be set after the other PHY settings. And the firmware is necessary. Don't enable it without loading the firmware. Signed-off-by: Hayes Wang --- drivers/net/ethernet/realtek/r8169.c | 62 +

[PATCH v2 net-next 2/2] r8169: update the settings for RTL8111G

2012-10-22 Thread Hayes Wang
Update the parameters of RTL8111G Signed-off-by: Hayes Wang --- drivers/net/ethernet/realtek/r8169.c | 118 ++- 1 file changed, 101 insertions(+), 17 deletions(-) diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index cdd4

Re: [PATCH] vlan: set sysfs device_type to 'vlan'

2012-10-22 Thread David Miller
From: Doug Goldstein Date: Mon, 22 Oct 2012 00:53:57 -0500 > Sets the sysfs device_type to 'vlan' for udev. This makes it easier for > applications that query network information via udev to identify vlans > instead of using strrchr(). > > Signed-off-by: Doug Goldstein You're extremely misguid

Re: [Intel-gfx] drm_kms_helper problems

2012-10-22 Thread Bruno Prémont
On Mon, 22 Oct 2012 17:54:26 Mark Hounschell wrote: > Another interesting thing. I changed the boot file to only > "video=HDMI-A-1:e" and the monitor on the DVI port complains about the > resolution being to high. I then put the hdmi cable onto my dvi/hdmi > adapter and plug it into the DVI port

Re: [rfc 0/2] Introducing VmFlags field into smaps output

2012-10-22 Thread Cyrill Gorcunov
On Mon, Oct 22, 2012 at 11:30:25PM -0700, Andrew Morton wrote: ... > > Yup, but not only that, this kind of trick hides associativity between > > VM_ constant and mnemonic, so on changes one would have to figure out > > which position some flag has in this foo[] array, so I vote for not > > use it

Re: [PATCH v4 10/10] thp: implement refcounting for huge zero page

2012-10-22 Thread Kirill A. Shutemov
On Fri, Oct 19, 2012 at 02:59:41AM +0300, Kirill A. Shutemov wrote: > On Thu, Oct 18, 2012 at 04:45:02PM -0700, Andrew Morton wrote: > > On Mon, 15 Oct 2012 09:00:59 +0300 > > "Kirill A. Shutemov" wrote: > > > > > H. Peter Anvin doesn't like huge zero page which sticks in memory forever > > > aft

RE: [PATCH 02/16 v2] f2fs: add on-disk layout

2012-10-22 Thread Jaegeuk Kim
> -Original Message- > From: NeilBrown [mailto:ne...@suse.de] > Sent: Tuesday, October 23, 2012 12:47 PM > To: Jaegeuk Kim > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > gre...@linuxfoundation.org; > v...@zeniv.linux.org.uk; a...@arndb.de; ty...@mit.edu; chur@sams

Re: [rfc 0/2] Introducing VmFlags field into smaps output

2012-10-22 Thread Andrew Morton
On Tue, 23 Oct 2012 10:13:41 +0400 Cyrill Gorcunov wrote: > On Mon, Oct 22, 2012 at 02:51:58PM -0700, Andrew Morton wrote: > ... > > > + __seq_show_vmflag(VM_DONTEXPAND,"de "); > > > + __seq_show_vmflag(VM_ACCOUNT, "ac "); > > > + __seq_show_vmflag(VM_NORESERVE, "nr "); > > > + __seq_show_vmfla

Re: [PATCH] arm: dts: omap4-sdp: pinmux configuration for keypad

2012-10-22 Thread Sourav
Hi Tony, On Monday 22 October 2012 09:49 PM, Tony Lindgren wrote: * Sourav Poddar [121022 00:30]: --- a/arch/arm/boot/dts/omap4-sdp.dts +++ b/arch/arm/boot/dts/omap4-sdp.dts @@ -194,6 +194,27 @@ 0xbc 0x100 /* abe_mcbsp2_fsx.abe_mcbsp2_fsx INPUT | MODE0 */

[PATCH 2/2]staging: "winbond" Fix typos.

2012-10-22 Thread Justin P. Mattock
From: "Justin P. Mattock" Signed-off-by: Justin P. Mattock --- The below patch fixes a typo in staging: "winbond" drivers/staging/winbond/mds.c |2 +- drivers/staging/winbond/wbhal.h |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/winbond/mds

[PATCH 1/2]staging: "ehci-w90x900" Fix typos.

2012-10-22 Thread Justin P. Mattock
From: "Justin P. Mattock" Signed-off-by: Justin P. Mattock --- The below patch fixes a typo in staging: "ehci-w90x900" drivers/usb/host/ehci-w90x900.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-w90x900.c b/drivers/usb/host/ehci-w90x900.c inde

drm i915 hangs on heavy io load

2012-10-22 Thread Norbert Preining
Hi everyone, (please Cc) I am running 3.7-rc2 and got recently hit a few times (under rc1, too) by hanging drm i915 while doing large io operations. The efect in the dmesg: [13193.297751] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung [13193.297758] [drm] capturing error

[PATCH 4/4] MIPS: Loongson1B: Fix a typo

2012-10-22 Thread Kelvin Cheung
Fix a typo in the code. Signed-off-by: Kelvin Cheung --- arch/mips/loongson1/common/clock.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/mips/loongson1/common/clock.c b/arch/mips/loongson1/common/clock.c index 7db0a6a..07133de 100644 --- a/arch/mips/loongson1/c

[PATCH 3/4] MIPS: Loongson1B: Update stmmac_mdio_bus_data

2012-10-22 Thread Kelvin Cheung
Update stmmac_mdio_bus_data accordingly due to the upstream change. Signed-off-by: Kelvin Cheung --- arch/mips/loongson1/common/platform.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/mips/loongson1/common/platform.c b/arch/mips/loongson1/common/platform.c index

[PATCH 2/4] MIPS: Loongson1B: improve ls1x_serial_setup()

2012-10-22 Thread Kelvin Cheung
Improve ls1x_serial_setup(). Signed-off-by: Kelvin Cheung --- arch/mips/include/asm/mach-loongson1/platform.h |2 +- arch/mips/loongson1/common/platform.c |9 + arch/mips/loongson1/ls1b/board.c|5 + 3 files changed, 7 insertions(+), 9 deletions(-

[PATCH 1/4] MIPS: Loongson1B: use common clock infrastructure instead of private APIs

2012-10-22 Thread Kelvin Cheung
Use common clock infrastructure instead of private APIs. 1. Enable COMMON_CLK in the Kconfig. 2. Remove private clock APIs, which are replaced by the code in drivers/clk/clk-ls1x.c. 3. Modify header file for drivers/clk/clk-ls1x.c. Signed-off-by: Kelvin Cheung --- arch/mips/include/asm/mach-l

[PATCH 0/4] MIPS: Loongson1B: enable common clock infrastructure

2012-10-22 Thread Kelvin Cheung
These patches enable common clock infrastructure of Loongson1, and include other minor fixes. Kelvin Cheung (4): MIPS: Loongson1B: use common clock infrastructure instead of private APIs MIPS: Loongson1B: improve ls1x_serial_setup() MIPS: Loongson1B: Update stmmac_mdio_bus_data MIP

Re: [PATCH for-v3.7 2/2] slub: optimize kmalloc* inlining for GFP_DMA

2012-10-22 Thread Eric Dumazet
On Tue, 2012-10-23 at 11:29 +0900, JoonSoo Kim wrote: > 2012/10/22 Christoph Lameter : > > On Sun, 21 Oct 2012, Joonsoo Kim wrote: > > > >> kmalloc() and kmalloc_node() of the SLUB isn't inlined when @flags = > >> __GFP_DMA. > >> This patch optimize this case, > >> so when @flags = __GFP_DMA, it w

Re: [PATCH] thermal: exynos: Fix wrong name of MODULE_DEVICE_TABLE

2012-10-22 Thread Amit Kachhap
On 22 October 2012 16:49, Jonghwan Choi wrote: > exynos4_tmu_driver_ids should be exynos_tmu_driver_ids. > > Signed-off-by: Jonghwan Choi > --- > drivers/thermal/exynos_thermal.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/thermal/exynos_thermal.c > b/d

Re: [rfc 0/2] Introducing VmFlags field into smaps output

2012-10-22 Thread Cyrill Gorcunov
On Mon, Oct 22, 2012 at 02:51:58PM -0700, Andrew Morton wrote: ... > > + __seq_show_vmflag(VM_DONTEXPAND,"de "); > > + __seq_show_vmflag(VM_ACCOUNT, "ac "); > > + __seq_show_vmflag(VM_NORESERVE, "nr "); > > + __seq_show_vmflag(VM_HUGETLB, "ht "); > > + __seq_show_vmflag(VM_NONLINEAR,

Re: 3.7-rc2 regression : file copied to CIFS-mounted directory corrupted

2012-10-22 Thread Eric Dumazet
On Tue, 2012-10-23 at 05:38 +, Jongman Heo wrote: > Hmm, > > I've just met the issue, with the commit 5640f768 reverted. > It seems that the issue does not always happen. So, my bisection may not be > correct. > > At this moment, I don't have enough time to do bisection again.. > > Regards.

[PATCH 2/2] Remove CsrThreadHandle

2012-10-22 Thread SeongJae Park
CsrThreadHandle is typedef of struct CsrThread. Some functions in csr_framework_ext.h use it as parameter. But, nobody call them. Signed-off-by: SeongJae Park --- drivers/staging/csr/csr_framework_ext.h | 49 - drivers/staging/csr/csr_framework_ext_types.h |2

[PATCH 1/2] Remove struct CsrThread

2012-10-22 Thread SeongJae Park
Nobody use struct CsrThread. So, remove it. Signed-off-by: SeongJae Park --- drivers/staging/csr/csr_framework_ext_types.h |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/csr/csr_framework_ext_types.h b/drivers/staging/csr/csr_framework_ext_types.h index 0d06d95..2bf8

Re: [PATCH RFC] mm/swap: automatic tuning for swapin readahead

2012-10-22 Thread Shaohua Li
On Mon, Oct 22, 2012 at 10:16:40PM -0700, Hugh Dickins wrote: > On Mon, 22 Oct 2012, Shaohua Li wrote: > > On Tue, Oct 16, 2012 at 08:50:49AM +0800, Shaohua Li wrote: > > > On Mon, Oct 08, 2012 at 03:09:58PM -0700, Hugh Dickins wrote: > > > > On Thu, 4 Oct 2012, Konstantin Khlebnikov wrote: > > > >

Re: 3.7 RC1

2012-10-22 Thread Dan Carpenter
On Mon, Oct 22, 2012 at 04:37:45PM -0700, K. Y. Srinivasan wrote: > > While testing 3.7 RC1 I discovered that invoking the function > orderly_poweroff() > from an interrupt context will trigger an ASSERT(). This was not the case till > recently. The comment preceding the orderly_poweroff() functi

Re: [GIT PULL] regmap for for v3.7

2012-10-22 Thread Linus Torvalds
On Mon, Oct 22, 2012 at 6:14 PM, Mark Brown wrote: > > git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git > tags/regmap-fix-mmio I'm not finding the key you used to sign that... Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the bo

Re: [PATCH 1/6] perf, x86: Basic Haswell LBR call stack support

2012-10-22 Thread Yan, Zheng
On 10/22/2012 06:35 PM, Peter Zijlstra wrote: > On Mon, 2012-10-22 at 14:11 +0800, Yan, Zheng wrote: >> --- a/include/uapi/linux/perf_event.h >> +++ b/include/uapi/linux/perf_event.h >> @@ -160,8 +160,9 @@ enum perf_branch_sample_type { >> PERF_SAMPLE_BRANCH_ABORT= 1U << 7, /* trans

Re: 3.7-rc2 regression : file copied to CIFS-mounted directory corrupted

2012-10-22 Thread Jongman Heo
Hmm, I've just met the issue, with the commit 5640f768 reverted. It seems that the issue does not always happen. So, my bisection may not be correct. At this moment, I don't have enough time to do bisection again.. Regards. [sorry for top posting, our corporate MTA is not good at e-mail writi

[PATCH] Input: introduce managed input devices (add devres support)

2012-10-22 Thread Dmitry Torokhov
There is a demand from driver's writers to use managed devices framework for their drivers. Unfortunately up to this moment input devices did not provide support for managed devices and that lead to mixing two styles of resource management which usually introduced more bugs, such as manually unregi

Re: [E1000-devel] [PATCH] RX initialization sequence fixed - enable RX after corresponding ring initialization only

2012-10-22 Thread Jeff Kirsher
On Fri, 2012-10-19 at 20:19 +0100, Richard Davies wrote: > Jeff Kirsher wrote: > > Dmitry Fleytman wrote: > > > Reported-by: Chris Webb > > > Reported-by: Richard Davies > > > > > > Signed-off-by: Dmitry Fleytman > > > --- > > > drivers/net/ethernet/intel/e1000/e1000_ethtool.c |9 +

[PATCH] backlight: s6e63m0: remove unnecessary cast of void pointer

2012-10-22 Thread Jingoo Han
Removes unnecessary case of void pointer for platform data in probe function. Signed-off-by: Jingoo Han Cc: Richard Purdie --- drivers/video/backlight/s6e63m0.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/backlight/s6e63m0.c b/drivers/video/backlight

Re: [PATCH 1/6] perf, x86: Basic Haswell LBR call stack support

2012-10-22 Thread Yan, Zheng
On 10/22/2012 07:23 PM, Stephane Eranian wrote: > On Mon, Oct 22, 2012 at 12:33 PM, Peter Zijlstra > wrote: >> >> On Mon, 2012-10-22 at 14:11 +0800, Yan, Zheng wrote: >>> + /* LBR callstack does not work well with FREEZE_LBRS_ON_PMI */ >>> + if (!cpuc->lbr_sel || !(cpuc->lbr_sel->conf

Re: [PATCH 1/6] perf, x86: Basic Haswell LBR call stack support

2012-10-22 Thread Yan, Zheng
On 10/22/2012 06:33 PM, Peter Zijlstra wrote: > On Mon, 2012-10-22 at 14:11 +0800, Yan, Zheng wrote: >> + /* LBR callstack does not work well with FREEZE_LBRS_ON_PMI */ >> + if (!cpuc->lbr_sel || !(cpuc->lbr_sel->config & LBR_CALL_STACK)) >> + debugctl |= DEBUGCTLMSR_FREEZ

[PATCH] pc8736x_gpio: use platform_device_unregister in pc8736x_gpio_cleanup()

2012-10-22 Thread Wei Yongjun
From: Wei Yongjun platform_device_unregister() only calls platform_device_del() and platform_device_put(), thus use platform_device_unregister() to simplify the code. Also the documents in platform.c shows that platform_device_del and platform_device_put must _only_ be externally called in error

Re: [PATCH RFC] mm/swap: automatic tuning for swapin readahead

2012-10-22 Thread Hugh Dickins
On Mon, 22 Oct 2012, Shaohua Li wrote: > On Tue, Oct 16, 2012 at 08:50:49AM +0800, Shaohua Li wrote: > > On Mon, Oct 08, 2012 at 03:09:58PM -0700, Hugh Dickins wrote: > > > On Thu, 4 Oct 2012, Konstantin Khlebnikov wrote: > > > > > > > Here results of my test. Workload isn't very realistic, but at

[PATCH] rtc: avoid calling platform_device_put() twice in test_init()

2012-10-22 Thread Wei Yongjun
From: Wei Yongjun In case of error, the function test_init() need to call platform_device_del() instead of platform_device_unregister(). Otherwise, we may call platform_device_put() twice. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yo

Re: [PATCH 4/5] xen-fbfront: handle backend CLOSED without CLOSING

2012-10-22 Thread Florian Tobias Schandinat
Hi Konrad, On 10/19/2012 01:00 PM, Konrad Rzeszutek Wilk wrote: > On Thu, Oct 18, 2012 at 11:03:37AM +0100, David Vrabel wrote: >> From: David Vrabel >> >> Backend drivers shouldn't transistion to CLOSED unless the frontend is >> CLOSED. If a backend does transition to CLOSED too soon then the >

Re: usbview 2.0 release

2012-10-22 Thread Anil Nair
Hello Greg, > No, debugfs needs to be mounted at /sys/kernel/debug/ Is it not mounted > that way for you? Perhaps it is mounted with root-only access (default > for 3.7-rc1 and newer kernels)? Yes you are right i verified "/sys/kernel/debug" has root-only access. The kernel version i am using i

Re: process hangs on do_exit when oom happens

2012-10-22 Thread Balbir Singh
On Tue, Oct 23, 2012 at 9:05 AM, Qiang Gao wrote: > information about the system is in the attach file "information.txt" > > I can not reproduce it in the upstream 3.6.0 kernel.. > > On Sat, Oct 20, 2012 at 12:04 AM, Michal Hocko wrote: >> On Wed 17-10-12 18:23:34, gaoqiang wrote: >>> I looked up

Re: mmotm 2012-10-22-17-08 uploaded (memory_hotplug.c)

2012-10-22 Thread Randy Dunlap
On 10/22/2012 05:09 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2012-10-22-17-08 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of

Re: linux-next: build failure after merge of the final tree (usb tree related)

2012-10-22 Thread Greg KH
On Tue, Oct 23, 2012 at 03:13:54PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the final tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > In file included from drivers/usb/host/ohci-hcd.c:1165:0: > drivers/usb/host/ohci-sm501.c: In function 'ohci_sm501_

Re: linux-next: build failure after merge of the akpm tree

2012-10-22 Thread Joe Perches
On Tue, 2012-10-23 at 14:42 +1100, Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > kernel/printk/printk_syslog.c: In function 'printk_syslog_print': > kernel/printk/printk_syslog.c:108:3: error: impli

[PATCH 4/4] backlight: vgg2432a4: add missing const

2012-10-22 Thread Jingoo Han
Add 'const' to static array that was missing it in its definition. Also, 'const' is added to ili9320_write_regs(), because it is called by vgg2432a4 driver. Signed-off-by: Jingoo Han Cc: Ben Dooks Cc: Richard Purdie --- drivers/video/backlight/ili9320.c |2 +- drivers/video/backlight/ili

Re: Major performance regressions in 3.7rc1/2

2012-10-22 Thread Hugh Dickins
On Mon, 22 Oct 2012, Andrew Morton wrote: > On Mon, 22 Oct 2012 21:45:02 +0200 > Julian Wollrath wrote: > > > Hello, > > > > seems like I found the other bad commit. Everything, which means > > v3.7-rc*, works fine again with commit e6c509f85 (mm: use > > clear_page_mlock() in page_remove_rmap()

[PATCH 3/4] backlight: tdo24m: add missing const

2012-10-22 Thread Jingoo Han
Add 'const' to static array that was missing it in its definition. Signed-off-by: Jingoo Han Cc: Eric Miao Cc: Richard Purdie --- drivers/video/backlight/tdo24m.c | 27 ++- 1 files changed, 14 insertions(+), 13 deletions(-) diff --git a/drivers/video/backlight/tdo24m

linux-next: Tree for Oct 23

2012-10-22 Thread Stephen Rothwell
Hi all, Changes since 201201022: New tree: drop-experimental The xtensa tree lost its conflict. The usb tree gained a build failure for which I reverted a commit. The akpm tree gained 2 build failures for which I reverted some commits. -

[PATCH 2/4] backlight: lms283gf05: add missing const

2012-10-22 Thread Jingoo Han
Add 'const' to static array that was missing it in its definition. Signed-off-by: Jingoo Han Cc: Marek Vasut Cc: Richard Purdie --- drivers/video/backlight/lms283gf05.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/video/backlight/lms283gf05.c b/drivers

Re: [PATCH 3/6] perf, x86: Save/resotre LBR stack during context switch

2012-10-22 Thread Yan, Zheng
On 10/22/2012 04:31 PM, Stephane Eranian wrote: > On Mon, Oct 22, 2012 at 7:57 AM, Yan, Zheng wrote: >> From: "Yan, Zheng" >> >> When the LBR call stack is enabled, it is necessary to save/restore >> the stack on context switch. The solution is saving/restoring the >> stack to/from task's perf ev

[PATCH 1/4] backlight: da9052: add missing const

2012-10-22 Thread Jingoo Han
Add 'const' to static array that was missing it in its definition. Signed-off-by: Jingoo Han Cc: Ashish Jangam Cc: Richard Purdie --- drivers/video/backlight/da9052_bl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/backlight/da9052_bl.c b/drivers/vid

linux-next: build failure after merge of the final tree (usb tree related)

2012-10-22 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from drivers/usb/host/ohci-hcd.c:1165:0: drivers/usb/host/ohci-sm501.c: In function 'ohci_sm501_resume': drivers/usb/host/ohci-sm501.c:241:2: error: implicit declaration of fun

Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-22 Thread Lucas De Marchi
On Tue, Oct 23, 2012 at 1:40 AM, Kees Cook wrote: > On Mon, Oct 22, 2012 at 7:37 PM, Lucas De Marchi > wrote: >> On Mon, Oct 22, 2012 at 5:39 AM, Rusty Russell wrote: >>> "Michael Kerrisk (man-pages)" writes: > FIX: add flags arg to sys_finit_module() > > Thanks to Michael Kerrisk f

RE: [PATCH v1] Support Elan Touchscreen eKTF product.

2012-10-22 Thread 劉嘉駿
Hi, > -Original Message- > From: Benjamin Tissoires [mailto:benjamin.tissoi...@gmail.com] > Sent: Tuesday, October 23, 2012 1:12 AM > To: Dmitry Torokhov > Cc: Jian-Jhong Ding; Scott Liu; linux-in...@vger.kernel.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; Jesse; Vincent

Re: [PATCH 02/16 v2] f2fs: add on-disk layout

2012-10-22 Thread NeilBrown
On Tue, 23 Oct 2012 11:26:00 +0900 Jaegeuk Kim wrote: > This adds a header file describing the on-disk layout of f2fs. > > +struct f2fs_inode { > + __le16 i_mode; /* File mode */ > + __u8 i_advise; /* File hints */ > + __u8 i_reserved;

linux-next: build failure after merge of the akpm tree

2012-10-22 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: kernel/printk/printk_syslog.c: In function 'printk_syslog_print': kernel/printk/printk_syslog.c:108:3: error: implicit declaration of function 'copy_to_user' [-Werror=implicit-function-de

Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-22 Thread Kees Cook
On Mon, Oct 22, 2012 at 7:37 PM, Lucas De Marchi wrote: > On Mon, Oct 22, 2012 at 5:39 AM, Rusty Russell wrote: >> "Michael Kerrisk (man-pages)" writes: FIX: add flags arg to sys_finit_module() Thanks to Michael Kerrisk for keeping us honest. >>> >>> w00t! Thanks, Rusty ;-). >>> >

linux-next: build failure after merge of the akpm tree

2012-10-22 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: arch/powerpc/platforms/pasemi/idle.c:88:1: error: macro "__define_initcall" passed 3 arguments, but takes just 2 arch/powerpc/platforms/pasemi/idle.c:88:1: error: data definition has no t

3.7-rc2 regression : file copied to CIFS-mounted directory corrupted

2012-10-22 Thread Jongman Heo
Hi, all, With 3.7-rc2, I noticed that file copied to CIFS-mounted directory is corrupted. Integrity is checked by md5sum. 1. get md5sum of file located on local (ext4) disk 2. copy the file to CIFS-mounted directory 3. check md5sum of the copied file Host : Windows 7 Guest : Fedora 16

RE: [PATCH 07/16 v2] f2fs: add segment operations

2012-10-22 Thread Jaegeuk Kim
> Hi. > > Building f2fs for ARM gives the following error: > > CC fs/f2fs/segment.o > CC fs/f2fs/recovery.o > fs/f2fs/segment.c: In function 'build_sit_info': > fs/f2fs/segment.c:1399:2: error: implicit declaration of function 'vzalloc' > [-Werror=implicit- > function-declaration]

RE: [PATCH 16/16 v2] f2fs: update Kconfig and Makefile

2012-10-22 Thread Jaegeuk Kim
> On Tue, Oct 23, 2012 at 11:33:28AM +0900, Jaegeuk Kim wrote: > > +config F2FS_STAT_FS > > + bool "F2FS Status Information" > > + depends on F2FS_FS > > + default y > > + help > > + /proc/fs/f2fs/ contains information about partitions mounted as f2fs. > > + For each partition, a co

Re: [PATCH 0/1] staging: Add firewire-serial driver

2012-10-22 Thread Greg Kroah-Hartman
On Mon, Oct 22, 2012 at 10:34:39PM -0400, Peter Hurley wrote: > On Mon, 2012-10-22 at 15:45 -0700, Greg Kroah-Hartman wrote: > > On Thu, Oct 18, 2012 at 08:56:55AM -0400, Peter Hurley wrote: > > > Please consider this serial driver for review for submission to staging. > > > The firewire-serial dri

Re: [PATCH 1/2] Staging: android: binder: Fix memory leak on thread/process exit

2012-10-22 Thread Greg KH
On Mon, Oct 22, 2012 at 05:58:08PM -0700, Arve Hj?nnev?g wrote: > On Mon, Oct 22, 2012 at 1:00 PM, Greg KH wrote: > > On Tue, Oct 16, 2012 at 03:45:20PM -0700, Arve Hj?nnev?g wrote: > >> On Tue, Oct 16, 2012 at 12:11 AM, Greg KH > >> wrote: > >> > On Mon, Oct 15, 2012 at 05:32:41PM -0700, Arve H

Re: [PATCH] staging: csr: fix coding style

2012-10-22 Thread SeongJae Park
Thank you for fast reply, Greg. I was very impressed by your session at Linux Forum, sent linux kernel patch, made a document about your session(write and submit your first Linux kernel patch) in Korean, and my patch merged, have discussion with Linux kernel guys... These whole thing about my fir

Re: [PATCH 16/16 v2] f2fs: update Kconfig and Makefile

2012-10-22 Thread Greg KH
On Tue, Oct 23, 2012 at 11:33:28AM +0900, Jaegeuk Kim wrote: > +config F2FS_STAT_FS > + bool "F2FS Status Information" > + depends on F2FS_FS > + default y > + help > + /proc/fs/f2fs/ contains information about partitions mounted as f2fs. > + For each partition, a corres

Re: [PATCH 07/16 v2] f2fs: add segment operations

2012-10-22 Thread Max Filippov
Hi. Building f2fs for ARM gives the following error: CC fs/f2fs/segment.o CC fs/f2fs/recovery.o fs/f2fs/segment.c: In function 'build_sit_info': fs/f2fs/segment.c:1399:2: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration] fs/f2fs/segment.c:139

Re: [PATCH] MM: Support more pagesizes for MAP_HUGETLB/SHM_HUGETLB v6

2012-10-22 Thread Benjamin Herrenschmidt
On Mon, 2012-10-22 at 18:23 +0200, Michael Kerrisk (man-pages) wrote: > Since PowerPC already allows 16GB page sizes, doesn't there need to be > allowance for the possibility of future expansion? Choosing a larger > minimum size (like 2^16) would allow that. Does the minimum size need > to be 16k?

Re: [PATCH v2 1/2] Replace if statement with WARN_ON_ONCE() in cmci_rediscover().

2012-10-22 Thread Tang Chen
On 10/22/2012 06:14 PM, Borislav Petkov wrote: On Mon, Oct 22, 2012 at 10:10:24AM +0800, Tang Chen wrote: I don't why before we just jumped over it. But I think if we have an online cpu == dying here, it must be wrong. So I think we should warn it, not just jump over it. Why do we need to warn

Re: [PATCH] staging: csr: fix coding style

2012-10-22 Thread Greg KH
On Tue, Oct 23, 2012 at 11:41:06AM +0900, SeongJae Park wrote: > Hello, > > > I think it was my mistake. > > CsrThread is enclosed by macro #ifdef __KERNEL__ > and it used by csr_framework_ext.h as CsrThreadHandle type(typedef > used at csr_framework_ext_types.h). > > I think that's why I didn'

Re: [PATCH] staging: csr: fix coding style

2012-10-22 Thread SeongJae Park
Hello, I think it was my mistake. CsrThread is enclosed by macro #ifdef __KERNEL__ and it used by csr_framework_ext.h as CsrThreadHandle type(typedef used at csr_framework_ext_types.h). I think that's why I didn't see build failure. So, I think I should not remove CsrThread. If there is anythi

Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-22 Thread Lucas De Marchi
On Mon, Oct 22, 2012 at 5:39 AM, Rusty Russell wrote: > "Michael Kerrisk (man-pages)" writes: >>> FIX: add flags arg to sys_finit_module() >>> >>> Thanks to Michael Kerrisk for keeping us honest. >> >> w00t! Thanks, Rusty ;-). >> >> Acked-by: Michael Kerrisk > > Here's the version I ended up wit

Re: [PATCH 0/1] staging: Add firewire-serial driver

2012-10-22 Thread Peter Hurley
On Mon, 2012-10-22 at 15:45 -0700, Greg Kroah-Hartman wrote: > On Thu, Oct 18, 2012 at 08:56:55AM -0400, Peter Hurley wrote: > > Please consider this serial driver for review for submission to staging. > > The firewire-serial driver implements TTY over IEEE 1394. In its default > > configuration, i

[PATCH 16/16 v2] f2fs: update Kconfig and Makefile

2012-10-22 Thread Jaegeuk Kim
This adds Makefile and Kconfig for f2fs, and updates Makefile and Kconfig files in the fs directory. Signed-off-by: Jaegeuk Kim --- fs/Kconfig |1 + fs/Makefile |1 + fs/f2fs/Kconfig | 55 ++ fs/f2fs/Makefile |6 ++

[PATCH 15/16 v2] f2fs: add recovery routines for roll-forward

2012-10-22 Thread Jaegeuk Kim
This adds roll-forward routines to recover fsynced data. - F2FS uses basically roll-back model with checkpointing. - In order to implement fsync(), there are two approaches as follows. 1. A roll-back model with checkpointing at every fsync() : This is a naive method, but suffers from very low p

[PATCH 14/16 v2] f2fs: add garbage collection functions

2012-10-22 Thread Jaegeuk Kim
This adds on-demand and background cleaning functions. - The basic background cleaning policy is trying to do cleaning jobs as much as possible whenever the system is idle. Once the background cleaning is done, the cleaner sleeps an amount of time not to interfere with VFS calls. The time is

[PATCH 13/16 v2] f2fs: add xattr and acl functionalities

2012-10-22 Thread Jaegeuk Kim
This implements xattr and acl functionalities. - F2FS uses a node page to contain use extended attributes. Signed-off-by: Changman Lee Signed-off-by: Jaegeuk Kim --- fs/f2fs/acl.c | 465 +++ fs/f2fs/acl.h | 57 +++ fs/f2fs/xattr.c

[PATCH 12/16 v2] f2fs: add core directory operations

2012-10-22 Thread Jaegeuk Kim
This adds core functions to find, add, delete, and link dentries. Signed-off-by: Jaegeuk Kim --- fs/f2fs/dir.c | 657 fs/f2fs/hash.c | 98 + 2 files changed, 755 insertions(+) create mode 100644 fs/f2fs/dir.c create mode 1006

[PATCH 11/16 v2] f2fs: add inode operations for special inodes

2012-10-22 Thread Jaegeuk Kim
This adds inode operations for directory, symlink, and special inodes. Signed-off-by: Changman Lee Signed-off-by: Jaegeuk Kim --- fs/f2fs/namei.c | 494 +++ 1 file changed, 494 insertions(+) create mode 100644 fs/f2fs/namei.c diff --git a/f

[PATCH 10/16 v2] f2fs: add core inode operations

2012-10-22 Thread Jaegeuk Kim
This adds core functions to get, read, write, and evict an inode. Signed-off-by: Changman Lee Signed-off-by: Jaegeuk Kim --- fs/f2fs/inode.c | 262 +++ 1 file changed, 262 insertions(+) create mode 100644 fs/f2fs/inode.c diff --git a/fs/f2f

[PATCH 09/16 v2] f2fs: add address space operations for data

2012-10-22 Thread Jaegeuk Kim
This adds address space operations for data. - F2FS supports readpages(), writepages(), and direct_IO(). - Because of out-of-place writes, f2fs_direct_IO() does not write data in place. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 701 +++

Re: [PATCH for-v3.7 2/2] slub: optimize kmalloc* inlining for GFP_DMA

2012-10-22 Thread JoonSoo Kim
2012/10/22 Christoph Lameter : > On Sun, 21 Oct 2012, Joonsoo Kim wrote: > >> kmalloc() and kmalloc_node() of the SLUB isn't inlined when @flags = >> __GFP_DMA. >> This patch optimize this case, >> so when @flags = __GFP_DMA, it will be inlined into generic code. > > __GFP_DMA is a rarely used fla

[PATCH 08/16 v2] f2fs: add file operations

2012-10-22 Thread Jaegeuk Kim
This adds memory operations and file/file_inode operations. - F2FS supports fallocate(), mmap(), fsync(), and basic ioctl(). Signed-off-by: Jaegeuk Kim --- fs/f2fs/file.c | 640 1 file changed, 640 insertions(+) create mode 100644 fs/f2

[PATCH 07/16 v2] f2fs: add segment operations

2012-10-22 Thread Jaegeuk Kim
This adds specific functions not only to manage dirty/free segments, SIT pages, a cache for SIT entries, and summary entries, but also to allocate free blocks and write three types of pages: data, node, and meta. - F2FS maintains three types of bitmaps in memory, which indicate free, prefree, an

Re: [PATCH] MM: Support more pagesizes for MAP_HUGETLB/SHM_HUGETLB v6

2012-10-22 Thread Andi Kleen
On Tue, Oct 23, 2012 at 12:44:24PM +1100, Benjamin Herrenschmidt wrote: > On Mon, 2012-10-22 at 17:53 +0200, Michael Kerrisk (man-pages) wrote: > > > This is all seems to make an awful muck of the API... > > .../... > > > There seems to be a reasonable argument here for an mmap3() with a > > 64

[PATCH 06/16 v2] f2fs: add node operations

2012-10-22 Thread Jaegeuk Kim
This adds specific functions to manage NAT pages, a cache for NAT entries, free nids, direct/indirect node blocks for indexing data, and address space for node pages. - The key information of an NAT entry consists of a node id and a block address. - An NAT page is composed of block addresses cove

[PATCH 05/16 v2] f2fs: add checkpoint operations

2012-10-22 Thread Jaegeuk Kim
This adds functions required by the checkpoint operations. Basically, f2fs adopts a roll-back model with checkpoint blocks written in the CP area. The checkpoint procedure includes as follows. - write_checkpoint() 1. block_operations() freezes VFS calls. 2. submit cached bios. 3. flush_nat_entrie

[PATCH 04/16 v2] f2fs: add super block operations

2012-10-22 Thread Jaegeuk Kim
This adds the implementation of superblock operations for f2fs, which includes - init_f2fs_fs/exit_f2fs_fs - f2fs_mount - super_operations of f2fs Signed-off-by: Jaegeuk Kim --- fs/f2fs/super.c | 590 +++ 1 file changed, 590 insertions(+) cre

[PATCH 02/16 v2] f2fs: add on-disk layout

2012-10-22 Thread Jaegeuk Kim
This adds a header file describing the on-disk layout of f2fs. Signed-off-by: Changman Lee Signed-off-by: Chul Lee Signed-off-by: Jaegeuk Kim --- include/linux/f2fs_fs.h | 362 +++ 1 file changed, 362 insertions(+) create mode 100644 include/linux/

[PATCH 01/16 v2] f2fs: add document

2012-10-22 Thread Jaegeuk Kim
This adds a document describing the mount options, proc entries, usage, and design of Flash-Friendly File System, namely F2FS. Signed-off-by: Jaegeuk Kim --- Documentation/filesystems/00-INDEX |2 + Documentation/filesystems/f2fs.txt | 404 2 files chang

RE: [PATCH net-next 1/2] r8169: enable ALDPS for power saving

2012-10-22 Thread hayeswang
Francois Romieu [mailto:rom...@fr.zoreil.com] > Sent: Tuesday, October 23, 2012 3:28 AM > To: Hayeswang > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; > j...@google.com > Subject: Re: [PATCH net-next 1/2] r8169: enable ALDPS for power saving > [...] > > @@ -687,6 +687,7 @@ enum fea

[PATCH 00/16 v2] f2fs: introduce flash-friendly file system

2012-10-22 Thread Jaegeuk Kim
Change log from v1: o Apply the recent user namespace changes [Eric] o Remove unnecessary condition check [Al] o Fix wrong description [Stefan] o Fix f2fs document [Randy] o Enlarge the volume label length to 256 unicodes [Martin] o Support time resolution to nano scale [Boaz] o Fix the wro

Re: [GIT PULL] Linux KVM tool for v3.7-rc0

2012-10-22 Thread Asias He
On Mon, Oct 22, 2012 at 6:16 PM, Gleb Natapov wrote: > On Mon, Oct 22, 2012 at 11:24:19AM +0200, Avi Kivity wrote: >> On 10/21/2012 05:39 PM, Pekka Enberg wrote: >> > >> > On Sun, Oct 21, 2012 at 5:02 PM, richard -rw- weinberger >> > wrote: >> >> qemu supports all these features. >> >> E.g. to ac

  1   2   3   4   5   6   7   8   >