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()

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

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, /*

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

[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

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

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 ||

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 |=

[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

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

[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

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

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

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

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:

[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 +-

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

[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

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

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

[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

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

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

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;

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'

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

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

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

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

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

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

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

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]

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

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

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

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

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,

[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

[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

[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

[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

[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

[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

[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

[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,

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 > >

[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

[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.

[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(+)

[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

[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

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

[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

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

Re: [RESEND PATCH 2/4] asm-generic: io: don't perform swab during {in,out} string functions

2012-10-22 Thread Benjamin Herrenschmidt
On Thu, 2012-10-18 at 07:48 +0200, Geert Uytterhoeven wrote: > So assume you have the bytestream "Hello, world!\n" in memory on the > PCI device.I.e. > > 48 65 6c 6c 6f 2c 20 77 6f 72 6c 64 21 0a|Hello, world!.| > > You want to copy it to system RAM using readsl(), which

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

2012-10-22 Thread Jian-Jhong Ding
Dmitry Torokhov writes: > On Mon, Oct 22, 2012 at 11:47:42AM +0800, Jian-Jhong Ding wrote: >> With Benjamin's i2c-hid implimentation, is it possible to make >> hid-multitouch not depend on USBHID and reuse it to drive this device? > > Exactly. Before looking any further - is this the same part

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

2012-10-22 Thread SeongJae Park
Hello, Thank you very much for your kindness, Greg. I tried to reply to email-list when I received Lauri's email, but I coudln't because my gmail service has some problems. I'm still newbie, sorry. I will send new patch that removes whole struct, as soon as possible(maybe 4~5 hours later).

Re: perf: header: Regression

2012-10-22 Thread Namhyung Kim
Hi Andrew, On Mon, 22 Oct 2012 15:11:42 +0200, Andrew Jones wrote: > The patch series that contains 7e94cfcc9d20 regresses the > header output. Below is a diff of info from before and > after the series > > 58,64c58,59 > < # node1 meminfo : total = 16777216 kB, free = 15712440 kB > < # node1 cpu

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

2012-10-22 Thread Rusty Russell
"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 with when I added two flags. Lucas, is this useful to you? BTW

Re: [PATCHv7 3/4] virtio_console: Merge struct buffer_token into struct port_buffer

2012-10-22 Thread Rusty Russell
sjur.brandel...@stericsson.com writes: > From: Sjur Brændeland > > Refactoring the splice functionality by unifying the approach for > sending scatter-lists and regular buffers. This simplifies > buffer handling and reduces code size. Splice will now allocate > a port_buffer and send_buf() and

Re: [PATCH] arch/tile: avoid build warnings from duplicate ELF_R_xxx #defines

2012-10-22 Thread Rusty Russell
Chris Metcalf writes: > These are now provided in , so clean up warning > by not re-defining them in module.c. > > Signed-off-by: Chris Metcalf This change was in linux-next for quite a while, BTW, so there would have been over a month of warnings... Acked-by: Rusty Russell Cheers, Rusty.

Re: [PATCHv7 2/4] virtio_console: Use kmalloc instead of kzalloc

2012-10-22 Thread Rusty Russell
sjur.brandel...@stericsson.com writes: > From: Sjur Brændeland > > Avoid the more cpu expensive kzalloc when allocating buffers. > Originally kzalloc was intended for isolating the guest from > the host by not sending random guest data to the host. But device > isolation is not yet in place so

Re: [PATCH v2 1/3] mm: highmem: export kmap_to_page for modules

2012-10-22 Thread Rusty Russell
Will Deacon writes: > Some virtio device drivers (9p) need to translate high virtual addresses > to physical addresses, which are inserted into the virtqueue for > processing by userspace. > > This patch exports the kmap_to_page symbol, so that the affected drivers > can be compiled as modules.

Re: [PATCHv7 4/4] virtio_console: Add support for remoteproc serial

2012-10-22 Thread Rusty Russell
sjur.brandel...@stericsson.com writes: > From: Sjur Brændeland > > Add a simple serial connection driver called > VIRTIO_ID_RPROC_SERIAL (11) for communicating with a > remote processor in an asymmetric multi-processing > configuration. > > This implementation reuses the existing virtio_console >

Re: [PATCHv7 1/4] virtio_console: Free buffer if splice fails

2012-10-22 Thread Rusty Russell
sjur.brandel...@stericsson.com writes: > From: Sjur Brændeland > > Free the allocated scatter list if send_pages fails in function > port_splice_write. > > Signed-off-by: Sjur Brændeland Didn't see Amit ack this, but applied anyway. Thanks, Rusty. -- To unsubscribe from this list: send the

Re: [PATCH v3 00/22] loop: Issue O_DIRECT aio using bio_vec

2012-10-22 Thread Dave Chinner
On Mon, Oct 22, 2012 at 07:53:40PM -0500, Dave Kleikamp wrote: > On 10/22/2012 07:07 PM, Dave Chinner wrote: > > On Mon, Oct 22, 2012 at 10:15:00AM -0500, Dave Kleikamp wrote: > >> This is the current version of the patchset I presented at the LSF-MM > >> Summit in San Francisco in April. I

Jitter

2012-10-22 Thread Uwaysi Bin Kareem
As those who have seen my posts on LKML, I am all about jitter. 10 years ago I said why not do an OpenGL desktop, and now we have wayland. 10 years ago, I said, don`t do excessive buffering, and now we have "fighting bufferbloat". 10 years ago, I talked about how responsive vintage computers

Re: mmotm 2012-10-22-17-08 uploaded (printk build errors)

2012-10-22 Thread Joe Perches
On Mon, 2012-10-22 at 18:22 -0700, Randy Dunlap wrote: > On 10/22/2012 05:09 PM, a...@linux-foundation.org wrote: Hi Randy. > on i386, when CONFIG_PRINTK is not enabled: [] > case 1. CONFIG_TTY_PRINTK=y, CONFIG_EARLY_PRINTK=y > > see config-r8272 [] > case 2. CONFIG_TTY_PRINTK=n,

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

2012-10-22 Thread Benjamin Herrenschmidt
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-bit flags argument... I tend to agree. There's a similar issue happening when we try

Re: [PATCH 3/3] workqueue: remove unused argument of wq_worker_waking_up()

2012-10-22 Thread JoonSoo Kim
2012/10/21 Tejun Heo : > On Sun, Oct 21, 2012 at 01:30:07AM +0900, Joonsoo Kim wrote: >> Commit 63d95a91 ('workqueue: use @pool instead of @gcwq or @cpu where >> applicable') changes an approach to access nr_running. >> Thus, wq_worker_waking_up() doesn't use @cpu anymore. >> Remove it and remove

Re: [ 02/37] lockd: use rpc clients cl_nodename for id encoding

2012-10-22 Thread Ben Hutchings
On Mon, 2012-10-22 at 17:02 +, Myklebust, Trond wrote: > On Sun, 2012-10-21 at 09:26 -0700, Greg Kroah-Hartman wrote: > > On Sat, Oct 20, 2012 at 12:15:18AM +0100, Ben Hutchings wrote: > > > On Thu, Oct 18, 2012 at 08:16:25PM -0700, Greg Kroah-Hartman wrote: > > > > 3.0-stable review patch.

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

[PATCH] ARM: Fix page counting in mem_init and show_mem

2012-10-22 Thread Michael Spang
The code in mem_init & show_mem to count page usage has two issues: 1. It assumes the memory map for a bank is contiguous. The sparsemem memory model partitions the memory map into sections, which may not be contiguous. They are usually contiguous due only to allocation order. Avoid this

Re: Heads-up: 3.6.2 / 3.6.3 NFS server panic: 3.6.2+ regression?

2012-10-22 Thread J. Bruce Fields
On Mon, Oct 22, 2012 at 05:17:04PM +0100, Nix wrote: > I just had a panic/oops on upgrading from 3.6.1 to 3.6.3, after weeks of > smooth operation on 3.6.1: one of the NFS changes that went into one of > the two latest stable kernels appears to be lethal after around half an > hour of uptime. The

[PATCH] kbuild: fix xargs error on make distclean

2012-10-22 Thread Fengguang Wu
/usr/bin/xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option Signed-off-by: Fengguang Wu --- Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bb9fff2..e5a64cc 100644 --- a/Makefile +++

Re: [PATCH v2 2/2] Do not change worker's running cpu in cmci_rediscover().

2012-10-22 Thread Tang Chen
On 10/22/2012 06:18 PM, Borislav Petkov wrote: On Mon, Oct 22, 2012 at 11:33:16AM +0800, Tang Chen wrote: I have 2 nodes, node0 and node1. node1 could be hotpluged. node0 has cpu0 ~ cpu15, node1 has cpu16 ~ cpu31. I online all the cpus on node1, and hot-remove node1 directly. Hold on, I need

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

2012-10-22 Thread Arve Hjønnevåg
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 Hjønnevåg wrote: >> >> If a thread or process exited while a reply, one-way

Re: [PATCH v3 00/22] loop: Issue O_DIRECT aio using bio_vec

2012-10-22 Thread Dave Kleikamp
On 10/22/2012 07:07 PM, Dave Chinner wrote: > On Mon, Oct 22, 2012 at 10:15:00AM -0500, Dave Kleikamp wrote: >> This is the current version of the patchset I presented at the LSF-MM >> Summit in San Francisco in April. I apologize for letting it go so >> long before re-submitting. >> >> This

Re: [PATCH 2/2] slab: move kmem_cache_free to common code

2012-10-22 Thread JoonSoo Kim
Hello, Glauber. 2012/10/23 Glauber Costa : > On 10/22/2012 06:45 PM, Christoph Lameter wrote: >> On Mon, 22 Oct 2012, Glauber Costa wrote: >> >>> + * kmem_cache_free - Deallocate an object >>> + * @cachep: The cache the allocation was from. >>> + * @objp: The previously allocated object. >>> + *

Re: [PATCH v1 2/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-22 Thread H. Peter Anvin
On 10/22/2012 02:29 PM, Eric W. Biederman wrote: As I said, I thought Fenghua tried that but it didn't work, experimentally. Fair enough. You described the problem with clearing bit 8 in a weird way. If the best we can muster are fuzzy memories it may be worth revisiting. Perhaps it works

RE: Drivers: hv

2012-10-22 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Monday, October 22, 2012 7:58 PM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > o...@aepfle.de; > a...@canonical.com; jasow...@redhat.com > Subject: Re: Drivers: hv

Re: [PATCH] ledtrig-cpu: use spin_lock to replace mutex lock

2012-10-22 Thread Rafael J. Wysocki
On Monday 22 of October 2012 16:15:58 Bryan Wu wrote: > On Mon, Oct 22, 2012 at 3:38 PM, Rafael J. Wysocki wrote: > > On Monday 22 of October 2012 11:59:19 Bryan Wu wrote: > >> Hiya, > >> > >> Can I get some Acked or Tested-by from Rafael or Miles before I put it > >> in my linux-leds tree? > > >

Re: tools/vm build fails

2012-10-22 Thread Fengguang Wu
Hi Daniel, On Mon, Oct 22, 2012 at 08:00:56PM -0400, Daniel Hazelton wrote: > After doing any build in the kernel (last attempt was an > allmodconfig) I've tried to build the 'vm' tool in tools/vm and the > build fails - looks to be fallout from the uapi header work. > > [madman@localhost

[PATCH] serial: 8250 check iir rdi in interrupt

2012-10-22 Thread Min Zhang
The patch works around two UART interrupt bugs when the serial console is flooded with inputs: 1. syslog shows "serial8250: too much works for irq" 2. serial console stops responding to key stroke serial8250_handle_irq() checks UART_IIR_RDI before reading receive fifo and clears bogus interrupt

[git pull] drm fixes

2012-10-22 Thread Dave Airlie
Hi Linus, fixes for intel and nouveau mainly. intel: disable HSW by default, sdvo fixes, link train regression fix nouveau: acpi rom loading regression fix, with a few other fixes from the rework core: just other minor fixes and race fixes for ttm. Dave. The following changes since commit

mmotm 2012-10-22-17-08 uploaded

2012-10-22 Thread akpm
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 my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH 2/5] ACPI: Reorder IPMI driver before any other ACPI drivers

2012-10-22 Thread Matthew Garrett
On Mon, Oct 22, 2012 at 05:07:03PM -0700, Andrew Morton wrote: > On Tue, 23 Oct 2012 01:00:34 +0100 > Matthew Garrett wrote: > > Not really - some of this code can be built as modules, so it's mostly > > module_init rather than anything from the initcall family. > > > > hm. So the ACPI code

  1   2   3   4   5   6   7   8   9   10   >