Re: [braindump][RFC] signals and syscall restarts (Re: [PATCH v2 19/44] metag: Signal handling)

2012-12-07 Thread Al Viro
On Thu, Dec 06, 2012 at 10:09:55PM +, Al Viro wrote: > "Subtle and undocumented" is an extremely polite way to describe that. > By now we had at least a dozen architectures step on that trap, simply because > they had different calling conventions and the same logics did *not* "just >

Re: Look Ma, da kernel is b0rken

2012-12-07 Thread Andreas Mohr
Hi, On Fri, Dec 07, 2012 at 06:44:05PM +0100, Borislav Petkov wrote: > On Fri, Dec 07, 2012 at 05:52:18PM +0100, Andreas Mohr wrote: > > Hmm, anyone deeply familiar with ISA PnP ID magic? :) > > Even if this is violating the ACPI spec, any fix for this needs to be > tested on the hardware (and I

Re: A typo about kernelcore= ?

2012-12-07 Thread anish kumar
On Fri, 2012-12-07 at 15:02 +0800, Han Pingtian wrote: > Hi there, > > I'm wondering this is a typo in Documentation/kernel-parameters.txt > about "kernelcore=": > > In the event, a node is too small to have both > kernelcore and Movable pages, kernelcore pages will > take

[PATCH] Documentation: cgroup: update the index file

2012-12-07 Thread Namjae Jeon
From: Namjae Jeon There are new files added to cgroup documentation. Lets update the index file listing all the remaining files Signed-off-by: Namjae Jeon Signed-off-by: Amit Sahrawat --- Documentation/cgroups/00-INDEX |8 1 file changed, 8 insertions(+) diff --git

[PATCH] lib/parser.c: Fix up comments for valid return values from match_number

2012-12-07 Thread Namjae Jeon
From: Namjae Jeon Since, match_number as valid return values as -ENOMEM, -EINVAL and -ERANGE. So, for all the functions calling match_number, the return value should include these values. Fix up the comments to reflect the correct values. Signed-off-by: Namjae Jeon Signed-off-by: Amit Sahrawat

[PATCH 5/5] f2fs: Fix for parent inode information during server cache eviction

2012-12-07 Thread Namjae Jeon
From: Namjae Jeon Test Case: [NFS Client] ls -lR . [NFS Server] while [ 1 ] do echo 3 > /proc/sys/vm/drop_caches done Error: "No such file or directory" When cache is dropped at the server, it results in lookup failure at the NFS client. Even though the file exists. Looking at the code to

[PATCH 4/5] f2fs: introduce accessor to retrieve number of dentry slots

2012-12-07 Thread Namjae Jeon
From: Namjae Jeon Simplify code by providing the accessor macro to retrieve the number of dentry slots for a given filename length. Signed-off-by: Namjae Jeon Signed-off-by: Amit Sahrawat --- fs/f2fs/dir.c | 13 + include/linux/f2fs_fs.h |3 +++ 2 files changed, 8

[PATCH 3/5] f2fs: remove redundant call to f2fs_put_page in delete entry

2012-12-07 Thread Namjae Jeon
From: Namjae Jeon Since, we anyway need to put the page after deleting entry. So, there is no need to make same call under different conditions. Move out the f2fs_put_page from the two conditions and call at once. Signed-off-by: Namjae Jeon Signed-off-by: Amit Sahrawat --- fs/f2fs/dir.c |

[PATCH 1/5] f2fs: rewrite f2fs_bio_alloc to make it simpler

2012-12-07 Thread Namjae Jeon
From: Namjae Jeon Since, GFP_NOFS(__GFP_WAIT) is used for allocation requests of bio in f2fs. So, there is no chance of returning NULL from the BIO allocation. Making the bio allocation routine for f2fs simpler. Signed-off-by: Namjae Jeon Signed-off-by: Amit Sahrawat --- fs/f2fs/segment.c |

[PATCH 2/5] f2fs: make use of GFP_F2FS_ZERO for setting gfp_mask

2012-12-07 Thread Namjae Jeon
From: Namjae Jeon Since, GFP_NOFS and __GFP_ZERO is being used to set gfp_mask. We can instead make use of already predefined macro GFP_F2FS_ZERO. Signed-off-by: Namjae Jeon Signed-off-by: Amit Sahrawat --- fs/f2fs/namei.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [ 00/27] 3.6.10-stable review

2012-12-07 Thread satoru takeuchi
Hi Greg, 2012/12/7 Greg Kroah-Hartman : > This is the start of the stable review cycle for the 3.6.10 release. > There are 27 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. This kernel can be built

Re: [ 00/20] 3.4.23-stable review

2012-12-07 Thread satoru takeuchi
Hi Greg, 2012/12/7 Greg Kroah-Hartman : > This is the start of the stable review cycle for the 3.4.23 release. > There are 20 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should be

ext3 journal commit while seek & write to file

2012-12-07 Thread Keith Chew
Hi There is a thread in the sqlite mailing list that was started by me, but it did not finish because it appears that my findings are more related to the kernel instead of sqlite. I really hope someone here can give me some guidance. The summary of my system is: - kernel 2.6.39.4 (also tested

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-07 Thread Dave Chinner
On Fri, Dec 07, 2012 at 06:52:51PM -0800, Joel Becker wrote: > On Sat, Dec 08, 2012 at 11:39:36AM +1100, Dave Chinner wrote: > > On Fri, Dec 07, 2012 at 05:02:32PM -0500, Ric Wheeler wrote: > > > On 12/07/2012 04:57 PM, Theodore Ts'o wrote: > > > >On Fri, Dec 07, 2012 at 04:42:06PM -0500, Ric

Re: [tpmdd-devel] [PATCH 1/1] TPM: STMicroelectronics ST33 I2C KERNEL 3.x.x OOPS!

2012-12-07 Thread Peter Hüwe
Hi, since I don't have a tpm I simply tried out whether the handling without a tpm is correct, which it unfortunately isn't as my kernel oopses. Steps to reproduce: # insmod /data/data-old/linux-2.6/drivers/char/tpm/tpm_i2c_stm_st33.ko # echo st33zp24_i2c 0x20

Re: [PATCH] char/tpm: Use struct dev_pm_ops for power management

2012-12-07 Thread Peter Hüwe
Am Donnerstag, 6. Dezember 2012, 17:27:02 schrieb Kent Yoder: > On Thu, Dec 06, 2012 at 01:20:51AM +0100, Peter Huewe wrote: > > This patch converts the suspend and resume functions for > > tpm_i2c_stm_st33 to the new dev_pm_ops. > > > > Signed-off-by: Peter Huewe > > One minor tweak, the PM

Re: [PATCH v2 03/44] Add CONFIG_HAVE_64BIT_ALIGNED_STRUCT for taskstats

2012-12-07 Thread H. Peter Anvin
On 12/05/2012 08:08 AM, James Hogan wrote: On 64 bit architectures with no efficient unaligned access, taskstats has to add some padding to a reply to prevent unaligned access warnings. However this also needs to apply to 32 bit architectures with 64 bit struct alignment such as metag (which has

Re: [PATCH] Debugging: Keep track of page owners

2012-12-07 Thread Steven Rostedt
On Fri, Dec 07, 2012 at 04:24:17PM -0500, Dave Hansen wrote: > > diff -puN /dev/null Documentation/page_owner.c Can we stop putting code into Documentation? We have tools, samples and usr directories. I'm sure this could fit into one of them. -- Steve > --- /dev/null 2012-06-13

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-07 Thread Joel Becker
On Sat, Dec 08, 2012 at 11:39:36AM +1100, Dave Chinner wrote: > On Fri, Dec 07, 2012 at 05:02:32PM -0500, Ric Wheeler wrote: > > On 12/07/2012 04:57 PM, Theodore Ts'o wrote: > > >On Fri, Dec 07, 2012 at 04:42:06PM -0500, Ric Wheeler wrote: > > >>The other things that I think we should try would be

Re: [PATCH] Debugging: Keep track of page owners

2012-12-07 Thread Steven Rostedt
On Fri, Dec 07, 2012 at 02:26:14PM -0800, Andrew Morton wrote: > On Fri, 07 Dec 2012 16:24:17 -0500 > Dave Hansen wrote: > > > To: a...@osdl.org > > It's years since I was called that. "Help me a...@osdl.org. You're my only hope"... > > > From: m...@skynet.ie (Mel Gorman) > > And him that.

Re: [update] Re: new execve/kernel_thread design

2012-12-07 Thread Chris Metcalf
On 12/7/2012 5:23 PM, Al Viro wrote: > Current situation: > > * most of the architectures are OK - alpha arm arm64 c6x frv hexagon ia64 m68k > microblaze mips openrisc parisc sparc s390 tile um unicore32 x86 xtensa > > * powerpc *still* awaits an ACK from maintainers; no reports of any breakage >

[PATCH v2] gpio: add TS-5500 DIO blocks support

2012-12-07 Thread Vivien Didelot
Technologic Systems TS-5500 provides digital I/O lines exposed through pin blocks. On this platform, there are three of them, named DIO1, DIO2 and LCD port, that may be used as a DIO block. The TS-5500 pin blocks are described in the product's wiki:

Re: [PATCH] X86/acpi: remove redundant logic of acpi memory hotadd

2012-12-07 Thread Wen Congyang
At 12/08/2012 06:19 AM, Rafael J. Wysocki Wrote: > On Tuesday, December 04, 2012 01:39:54 AM Liu, Jinsong wrote: >> Resend it, add Rafael and linux-a...@vger.kernel.org > > I wonder what memory hotplug people think about that. > > Thanks, > Rafael > > >> === >> From

Re: [PATCH v4 7/9] trace: use this_cpu_ptr per-cpu helper

2012-12-07 Thread Steven Rostedt
On Fri, 2012-11-30 at 14:38 +0800, Shan Wei wrote: > Shan Wei said, at 2012/11/16 16:34: > > Shan Wei said, at 2012/11/13 9:53: > >> From: Shan Wei > >> > >> typeof() is a pointer to array of 1024 char, or char (*)[1024]. > >> But, typeof([0]) is a pointer to char which match the return type >

[PATCH] regulator: lp872x: Kill _rdev_to_offset() function

2012-12-07 Thread Axel Lin
There is only one user calling _rdev_to_offset() function. Remove _rdev_to_offset() makes the code simpler. Signed-off-by: Axel Lin --- drivers/regulator/lp872x.c | 36 +++- 1 file changed, 7 insertions(+), 29 deletions(-) diff --git

Re: [ 00/11] 3.0.56-stable review

2012-12-07 Thread satoru takeuchi
Hi Greg, 2012/12/7 Greg Kroah-Hartman : > This is the start of the stable review cycle for the 3.0.56 release. > There are 11 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. This kernel can be built

[PATCH 2/2] tty: remove trailing spaces in tty/vt

2012-12-07 Thread Cong Ding
remove trailing blank spaces in tty/vt by shell command: sed 's/\s\+$//g' -i I have manually reviewed that everything is correct. Signed-off-by: Cong Ding --- drivers/tty/vt/consolemap.c | 62 +- drivers/tty/vt/keyboard.c |4 +-

[PATCH 1/2] tty: remove trailing spaces in tty/hvc

2012-12-07 Thread Cong Ding
remove trailing blank spaces in tty/hvc by shell command: sed 's/\s\+$//g' -i I have manually reviewed that everything is correct. Signed-off-by: Cong Ding --- drivers/tty/hvc/hvc_console.c |6 +++--- drivers/tty/hvc/hvc_xen.c |2 +- drivers/tty/hvc/hvcs.c|4 ++-- 3

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-07 Thread Chris Mason
On Fri, Dec 07, 2012 at 05:17:05PM -0700, Dave Chinner wrote: > On Fri, Dec 07, 2012 at 02:03:06PM -0500, Chris Mason wrote: [ dead and beaten fallocate ponies ] > > > On a single flash drive doing random 4K writes, xfs does 950MB/s into > > regular extents but only 400MB/s into preallocated

Incrementing module reference count

2012-12-07 Thread Aaron Williams
Hi, I have a kernel module which other modules register with in order to export access functions. So far I have everything working but I want to prevent a module that is registered with my module from unloading since now my module is dependent on the other module. Is there a way I can cause

Re: [PATCH] Document how capability bits work

2012-12-07 Thread Andy Lutomirski
On Fri, Dec 7, 2012 at 5:10 PM, Rob Landley wrote: > On 12/07/2012 01:32:18 PM, Andy Lutomirski wrote: >> >> On Fri, Dec 7, 2012 at 11:21 AM, Serge Hallyn >> wrote: >> > Quoting Andy Lutomirski (l...@amacapital.net): >> >> Signed-off-by: Andy Lutomirski >> >> --- >> >>

Re: [PATCH v2 04/44] trace/ring_buffer: handle 64bit aligned structs

2012-12-07 Thread Steven Rostedt
On Wed, 2012-12-05 at 16:08 +, James Hogan wrote: > Some 32 bit architectures have 64 bit struct alignment (for example > Meta which has 64 bit read/write instructions). These require 8 byte > alignment of event data too, so use CONFIG_HAVE_64BIT_ALIGNED_STRUCT > instead of CONFIG_64BIT to

Re: PATCH reduce impact of FIFREEZE on userland processes

2012-12-07 Thread Dave Chinner
On Fri, Dec 07, 2012 at 08:59:52AM +, Alun wrote: > Dave Chinner said, in message > 20121207004255.GC27172@dastard: > > > > The problem wth doing this is that the sync can delay the freeze > > process by quite some time under the exact conditions you describe. > > If you want freeze to take

Re: [RFC PATCH v3 0/3] acpi: Introduce prepare_remove device operation

2012-12-07 Thread Toshi Kani
On Fri, 2012-12-07 at 13:57 +0800, Jiang Liu wrote: > On 2012-12-7 10:57, Toshi Kani wrote: > > On Fri, 2012-12-07 at 00:40 +0800, Jiang Liu wrote: > >> On 12/04/2012 08:10 AM, Toshi Kani wrote: > >>> On Mon, 2012-12-03 at 12:25 +0800, Hanjun Guo wrote: > On 2012/11/30 6:27, Toshi Kani wrote:

Re: [PATCH v2 1/2] zsmalloc: add function to query object size

2012-12-07 Thread Nitin Gupta
On Sun, Dec 2, 2012 at 11:52 PM, Minchan Kim wrote: > On Sun, Dec 02, 2012 at 11:20:42PM -0800, Nitin Gupta wrote: >> >> >> On Nov 30, 2012, at 5:54 AM, Minchan Kim wrote: >> >> > On Thu, Nov 29, 2012 at 10:54:48PM -0800, Nitin Gupta wrote: >> >> Changelog v2 vs v1: >> >> - None >> >> >> >> Adds

Re: [PATCH 4/4] ext3: Warn if mounting rw on a disk requiring stable page writes

2012-12-07 Thread Darrick J. Wong
On Wed, Dec 05, 2012 at 01:12:28PM +0100, Jan Kara wrote: > On Mon 26-11-12 18:17:40, Darrick J. Wong wrote: > > On Thu, Nov 22, 2012 at 10:12:40AM +0100, Jan Kara wrote: > > > On Wed 21-11-12 17:47:55, Darrick J. Wong wrote: > > > > On Thu, Nov 22, 2012 at 08:47:13AM +1100, NeilBrown wrote: > > >

Re: [PATCH] Document how capability bits work

2012-12-07 Thread Rob Landley
On 12/07/2012 01:32:18 PM, Andy Lutomirski wrote: On Fri, Dec 7, 2012 at 11:21 AM, Serge Hallyn wrote: > Quoting Andy Lutomirski (l...@amacapital.net): >> Signed-off-by: Andy Lutomirski >> --- >> Documentation/security/capabilities.txt | 161 >> 1 file

[PATCH] tty: vt/Makefile: set the variables to static

2012-12-07 Thread Cong Ding
tty: vt/Makefile: set the variables to static In the file drivers/tty/vt/defkeymap.c generated by command loadkeys --mktable defkeymap.map > defkeymap.c the 6 variables: shift_map, altgr_map, ctrl_map, shift_ctrl_map, alt_map, and ctrl_alt_map should be static because they are used only in this

Re: [PATCH v2 -tip 3/4] tracing: make a snapshot feature available from userspace

2012-12-07 Thread Steven Rostedt
On Fri, 2012-12-07 at 11:07 +0900, Hiraku Toyooka wrote: > Hi, Steven, > > (2012/11/30 23:17), Steven Rostedt wrote: > [snip] > > > > Actually, I would have: > > > > status\input | 0 | 1 |else| > > --++++ > > not

Re: [ 00/20] 3.4.23-stable review

2012-12-07 Thread Shuah Khan
On Fri, Dec 7, 2012 at 5:52 PM, Shuah Khan wrote: > On Fri, Dec 7, 2012 at 5:49 PM, Shuah Khan wrote: >> On Thu, Dec 6, 2012 at 5:54 PM, Greg Kroah-Hartman >> wrote: >>> This is the start of the stable review cycle for the 3.4.23 release. >>> There are 20 patches in this series, all will be

Re: [ 00/27] 3.6.10-stable review

2012-12-07 Thread Shuah Khan
On Fri, Dec 7, 2012 at 5:46 PM, Shuah Khan wrote: > On Thu, Dec 6, 2012 at 5:58 PM, Greg Kroah-Hartman > wrote: >> This is the start of the stable review cycle for the 3.6.10 release. >> There are 27 patches in this series, all will be posted as a response >> to this one. If anyone has any

Re: Read O_DIRECT regression in 3.7-rc8 (bisected)

2012-12-07 Thread Linus Torvalds
On Fri, 7 Dec 2012, Linus Torvalds wrote: > > This (TOTALLY UNTESTED) patch adds it the same iov_shorten() logic that > the write side has. It does it differently (in fs/block_dev.c rather than > in mm/filemap.c), but I actually suspect this is a nicer way to do it, and > maybe we should do

Re: [ 00/11] 3.0.56-stable review

2012-12-07 Thread Shuah Khan
On Thu, Dec 6, 2012 at 5:56 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.0.56 release. > There are 11 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

mmotm 2012-12-07-16-53 uploaded

2012-12-07 Thread akpm
The mm-of-the-moment snapshot 2012-12-07-16-53 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: [ 00/20] 3.4.23-stable review

2012-12-07 Thread Shuah Khan
On Fri, Dec 7, 2012 at 5:49 PM, Shuah Khan wrote: > On Thu, Dec 6, 2012 at 5:54 PM, Greg Kroah-Hartman > wrote: >> This is the start of the stable review cycle for the 3.4.23 release. >> There are 20 patches in this series, all will be posted as a response >> to this one. If anyone has any

Re: [PATCH V3 RFC 2/2] kvm: Handle yield_to failure return code for potential undercommit case

2012-12-07 Thread Marcelo Tosatti
On Thu, Dec 06, 2012 at 12:29:02PM +0530, Raghavendra K T wrote: > On 12/04/2012 01:26 AM, Marcelo Tosatti wrote: > >On Wed, Nov 28, 2012 at 10:40:56AM +0530, Raghavendra K T wrote: > >>On 11/28/2012 06:42 AM, Marcelo Tosatti wrote: > >>> > >>>Don't understand the reasoning behind why 3 is a good

Re: zram: fix invalid memory references during disk write

2012-12-07 Thread Nitin Gupta
On Thu, Nov 29, 2012 at 10:45 PM, Nitin Gupta wrote: > Fixes a bug introduced by commit c8f2f0db1 ("zram: Fix handling > of incompressible pages") which caused invalid memory references > during disk write. Invalid references could occur in two cases: > - Incoming data expands on compression: In

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-07 Thread Dave Chinner
On Fri, Dec 07, 2012 at 03:25:53PM -0800, Howard Chu wrote: > Ric Wheeler wrote: > >On 12/07/2012 04:14 PM, Theodore Ts'o wrote: > >>On Fri, Dec 07, 2012 at 02:30:19PM -0500, Steven Rostedt wrote: > >>>How is this similar? By adding this bit, we removed incentive from a > >>>group of developers

Re: [RFC v2] Support volatile range for anon vma

2012-12-07 Thread John Stultz
On 12/04/2012 08:18 PM, Minchan Kim wrote: On Tue, Dec 04, 2012 at 11:13:40AM -0800, John Stultz wrote: I don't think the problem is when vmas being marked VM_VOLATILE are being merged, its that when we mark the vma as *non-volatile*, and remove the VM_VOLATILE flag we merge the non-volatile

Re: [ 00/20] 3.4.23-stable review

2012-12-07 Thread Shuah Khan
On Thu, Dec 6, 2012 at 5:54 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.4.23 release. > There are 20 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: Read O_DIRECT regression in 3.7-rc8 (bisected)

2012-12-07 Thread Linus Torvalds
On Sat, 8 Dec 2012, Milan Broz wrote: > > seems this commit in 3.7-rc8 caused regression for O_DIRECT > read near the end of the device. Oh, good find, and thanks for the test-case. I had looked at the O_DIRECT side, and convinced myself that it already truncates to i_size_read(), but it

Re: [ 00/27] 3.6.10-stable review

2012-12-07 Thread Shuah Khan
On Thu, Dec 6, 2012 at 5:58 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.6.10 release. > There are 27 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-07 Thread Dave Chinner
On Fri, Dec 07, 2012 at 05:02:32PM -0500, Ric Wheeler wrote: > On 12/07/2012 04:57 PM, Theodore Ts'o wrote: > >On Fri, Dec 07, 2012 at 04:42:06PM -0500, Ric Wheeler wrote: > >>The other things that I think we should try would be to convert over > >>larger chunks as we discussed on the list back in

Re: [PATCH 1/2] fs: logfs NULL pointer check added

2012-12-07 Thread Andrew Morton
On Tue, 27 Nov 2012 16:54:58 +0530 Abhijit Pawar wrote: > This patch fixes Bug 49921 - Missing NULL check of return value of > logfs_get_write_page() in function btree_write_block() > > Signed-off-by: Abhijit Pawar > --- > fs/logfs/readwrite.c |1 + > 1 files changed, 1 insertions(+), 0

Re: [RFC v2] Support volatile range for anon vma

2012-12-07 Thread John Stultz
On 12/04/2012 11:01 PM, Minchan Kim wrote: Hi John, On Tue, Dec 04, 2012 at 11:13:40AM -0800, John Stultz wrote: I don't think the problem is when vmas being marked VM_VOLATILE are being merged, its that when we mark the vma as *non-volatile*, and remove the VM_VOLATILE flag we merge the

[ANNOUNCE] Git v1.8.1-rc1

2012-12-07 Thread Junio C Hamano
A release candidate Git v1.8.1-rc1 is now available for testing at the usual places. The release tarballs are found at: http://code.google.com/p/git-core/downloads/list and their SHA-1 checksums are: 4b451bb5b7125349c35cf15118e8f1893569e48f git-1.8.1.rc1.tar.gz

Re: [PATCH] mm: add node physical memory range to sysfs

2012-12-07 Thread Dave Hansen
On 12/07/2012 03:51 PM, Andrew Morton wrote: >> > +static ssize_t node_read_memrange(struct device *dev, >> > +struct device_attribute *attr, char *buf) >> > +{ >> > + int nid = dev->id; >> > + unsigned long start_pfn = NODE_DATA(nid)->node_start_pfn; >> > + unsigned

Re: [PATCH] HOWTO: fix double words typo

2012-12-07 Thread Rob Landley
On 12/07/2012 08:37:11 AM, Cristian Stoica wrote: Signed-off-by: Cristian Stoica Acked-by: Rob Landley --- Documentation/HOWTO |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/HOWTO b/Documentation/HOWTO index 59c080f..a9f288f 100644 ---

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-07 Thread Dave Chinner
On Fri, Dec 07, 2012 at 02:03:06PM -0500, Chris Mason wrote: > On Fri, Dec 07, 2012 at 11:18:00AM -0700, Linus Torvalds wrote: > > > > > > On Fri, 7 Dec 2012, Ric Wheeler wrote: > > > > > > Review is part of the way we work as a community and we should figure out > > > how > > > to fix our

Re: [PATCH v2 1/1] uio.c: solve memory leak

2012-12-07 Thread Cong Ding
On Sat, Dec 08, 2012 at 01:10:40AM +0100, Hans J. Koch wrote: > On Fri, Dec 07, 2012 at 12:02:11AM +0100, Cong Ding wrote: > > ping Hans, did you have any comment on this? > > Sounds right what you say. Is your patch v2 your final solution, or would > you like to come up with v3? > > Thanks a

Re: [PATCH v2 1/1] uio.c: solve memory leak

2012-12-07 Thread Hans J. Koch
On Fri, Dec 07, 2012 at 12:02:11AM +0100, Cong Ding wrote: > ping Hans, did you have any comment on this? Sounds right what you say. Is your patch v2 your final solution, or would you like to come up with v3? Thanks a lot for your patience and your thorough analysis. Hans > > - cong > > On

[RFC][PATCH RT 3/4] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2012-12-07 Thread Steven Rostedt
When debugging the latencies on a 40 core box, where we hit 300 to 500 microsecond latencies, I found there was a huge contention on the runqueue locks. Investigating it further, running ftrace, I found that it was due to the pulling of RT tasks. The test that was run was the following:

[RFC][PATCH RT 4/4] sched/rt: Initiate a pull when the priority of a task is lowered

2012-12-07 Thread Steven Rostedt
If a task lowers its priority (say by losing priority inheritance) if a higher priority task is waiting on another CPU, initiate a pull. Signed-off-by: Steven Rostedt Index: linux-rt.git/kernel/sched/rt.c === ---

[RFC][PATCH RT 1/4] sched/rt: Fix push_rt_task() to have the same checks as the caller did

2012-12-07 Thread Steven Rostedt
Currently, the push_rt_task() only pushes the task if it is lower priority than the currently running task. But this is not the only check. If the currently running task is also pinned, we may want to push as well, and we do this check when we wake up a task, but then we are guaranteed to fail

[RFC][PATCH RT 0/4] sched/rt: Lower rq lock contention latencies on many CPU boxes

2012-12-07 Thread Steven Rostedt
I've been debugging large latencies on a 40 core box and found a major cause due to the thundering herd like grab of the rq lock due to the pull_rt_task() logic. Basically, if a large number of CPUs were to lower its priority roughly the same time, they would all trigger a pull. If there happens

[RFC][PATCH RT 2/4] sched/rt: Try to migrate task if preempting pinned rt task

2012-12-07 Thread Steven Rostedt
If a higher priority task is about to preempt a task that has been pinned to a CPU. Try to first see if the higher priority task can preempt another task instead. That is, a high priority process wakes up on a CPU while a currently running task can still migrate, it will miss pushing that high

[PATCH v4 1/5] net: Add support for hardware-offloaded encapsulation

2012-12-07 Thread Joseph Gasparakis
This patch adds support in the kernel for offloading in the NIC Tx and Rx checksumming for encapsulated packets (such as VXLAN and IP GRE). For Tx encapsulation offload, the driver will need to set the right bits in netdev->hw_enc_features. The protocol driver will have to set the

[PATCH v4 5/5] vxlan: Add capability of Rx checksum offload for inner packet

2012-12-07 Thread Joseph Gasparakis
This patch adds capability in vxlan to identify received checksummed inner packets and signal them to the upper layers of the stack. The driver needs to set the skb->encapsulation bit and also set the skb->ip_summed to CHECKSUM_UNNECESSARY. Signed-off-by: Joseph Gasparakis ---

[PATCH v4 3/5] vxlan: capture inner headers during encapsulation

2012-12-07 Thread Joseph Gasparakis
Allow VXLAN to make use of Tx checksum offloading and Tx scatter-gather. The advantage to these two changes is that it also allows the VXLAN to make use of GSO. Signed-off-by: Joseph Gasparakis Signed-off-by: Peter P Waskiewicz Jr Signed-off-by: Alexander Duyck --- drivers/net/vxlan.c | 10

[PATCH v4 4/5] ixgbe: Adding tx encapsulation capability

2012-12-07 Thread Joseph Gasparakis
This patch allows ixgbe to recognize encapsulated packets and do the tx checksum offload in hardware. This patch is only for demonstration purposes and should not be applied. Signed-off-by: Joseph Gasparakis Signed-off-by: Alexander Duyck --- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 46

[PATCH v4 2/5] net: Handle encapsulated offloads before fragmentation or handing to lower dev

2012-12-07 Thread Joseph Gasparakis
From: Alexander Duyck This change allows the VXLAN to enable Tx checksum offloading even on devices that do not support encapsulated checksum offloads. The advantage to this is that it allows for the lower device to change due to routing table changes without impacting features on the VXLAN

[PATCH v4 net-next 0/5] tunneling: Add support for hardware-offloaded encapsulation

2012-12-07 Thread Joseph Gasparakis
The series contains updates to add in the NIC Rx and Tx checksumming support for encapsulated packets. The sk_buff needs to somehow have information of the inner packet, and adding three fields for the inner mac, network and transport headers was the prefered approach. Not adding these fields

RE: [PATCH 0/3] Add O_DENY* flags to fcntl and cifs

2012-12-07 Thread Myklebust, Trond
> -Original Message- > From: linux-nfs-ow...@vger.kernel.org [mailto:linux-nfs- > ow...@vger.kernel.org] On Behalf Of Pavel Shilovsky > Sent: Friday, December 07, 2012 9:43 PM > To: Christoph Hellwig > Cc: linux-c...@vger.kernel.org; linux-kernel@vger.kernel.org; linux- >

Read O_DIRECT regression in 3.7-rc8 (bisected)

2012-12-07 Thread Milan Broz
Hi Linus, seems this commit in 3.7-rc8 caused regression for O_DIRECT read near the end of the device. bbec0270bdd887f96377065ee38b8848b5afa395 is the first bad commit commit bbec0270bdd887f96377065ee38b8848b5afa395 Author: Linus Torvalds Date: Thu Nov 29 12:31:52 2012 -0800

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-07 Thread Howard Chu
Ric Wheeler wrote: On 12/07/2012 04:14 PM, Theodore Ts'o wrote: On Fri, Dec 07, 2012 at 02:30:19PM -0500, Steven Rostedt wrote: How is this similar? By adding this bit, we removed incentive from a group of developers that have the means to fix the real issue at hand (the performance problem

Re: [PATCH] mm: add node physical memory range to sysfs

2012-12-07 Thread Andrew Morton
On Fri, 07 Dec 2012 14:34:56 -0800 Davidlohr Bueso wrote: > This patch adds a new 'memrange' file that shows the starting and > ending physical addresses that are associated to a node. This is > useful for identifying specific DIMMs within the system. I was going to bug you about docmentation,

Re: [PATCH v2] drivers/uio/uio_pdrv_genirq.c: Fix memory freeing issues

2012-12-07 Thread Hans J. Koch
On Fri, Dec 07, 2012 at 05:00:54PM +0200, Vitalii Demianets wrote: > > > > On second thought, we can't call enable_irq()/disable_irq() unconditionally > > because of the potential disable counter (irq_desc->depth) disbalance. > > That's why we need UIO_IRQ_DISABLED flag, and that's why we should

RE: [RFC][PATCH] pstore: Skip spinlock when just one cpu is online

2012-12-07 Thread Seiji Aguchi
> Can all these things really happen (did you run into this problem on a real > system?). Or is this just a theoretical problem. Ugly (but > practical) hacks might be OK to solve real problems. It is a theoretical problem right now. But it is a timing issue and there is a possibility to happen

Re: question about configfs_attribute

2012-12-07 Thread Joel Becker
On Mon, Oct 15, 2012 at 01:45:56PM +0200, Constantine Shulyupin wrote: > Hi > > I wonder why show and store methods are not stored inside of > configfs_attribute but stored in wrapper struct defined with > CONFIGFS_ATTR_STRUCT ? If you created a custom attribute struct and methods for

Re: [PATCH v2] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const

2012-12-07 Thread H. Peter Anvin
On 12/07/2012 03:17 PM, Cong Ding wrote: On Fri, Dec 07, 2012 at 03:06:13PM -0800, H. Peter Anvin wrote: On 12/07/2012 03:03 PM, Cong Ding wrote: On Fri, Dec 07, 2012 at 02:56:16PM -0800, H. Peter Anvin wrote: On 12/07/2012 02:49 PM, Cong Ding wrote: On Fri, Dec 07, 2012 at 02:45:43PM -0800,

[PATCH v3 1/1] Input: add driver for Cypress APA I2C Trackpad

2012-12-07 Thread Benson Leung
This patch introduces a driver for Cypress All Points Addressable I2C Trackpad, including the ones in 2012 Samsung Chromebooks. This device is compatible with MT protocol type B, providing identifiable contacts. Signed-off-by: Dudley Du Signed-off-by: Daniel Kurtz Signed-off-by: Benson Leung

[PATCH v3 0/1] Input: add driver for Cypress APA I2C Trackpad

2012-12-07 Thread Benson Leung
Thanks Dmitry, Jean, and Henrik. Here's V3, which I have confirms compiles on input-next, and works well on my Chromebook. v3 : * Handle pointer emulation and unused slots in core * Fix compile fail on 3.7 for input_mt_init_slots (Thanks Rydberg) * Set BUTTONPAD property only if is a

Re: [PATCH] fs/configfs: allow to create groups on demand

2012-12-07 Thread Joel Becker
On Thu, Nov 29, 2012 at 05:41:23PM +0100, Sebastian Andrzej Siewior wrote: > This patch adds a function add a group to an existing one and its > counterart. The newly created group behaves as it would be created via > default_groups[] which means the user can't rmdir it. > This should be used by

Re: [RFC][PATCH] fs: configfs: programmatically create config groups

2012-12-07 Thread Joel Becker
Hey Guys, Sorry I missed this for a while. I'll make a couple of inline comments, and then I'll summarize my (incomplete) thoughts at the bottom. On Wed, Nov 28, 2012 at 02:50:13PM +0100, Sebastian Andrzej Siewior wrote: > On 11/28/2012 02:05 PM, Michal Nazarewicz wrote: > >>On

[PATCH v2] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const

2012-12-07 Thread Cong Ding
On Fri, Dec 07, 2012 at 03:06:13PM -0800, H. Peter Anvin wrote: > On 12/07/2012 03:03 PM, Cong Ding wrote: > >On Fri, Dec 07, 2012 at 02:56:16PM -0800, H. Peter Anvin wrote: > >>On 12/07/2012 02:49 PM, Cong Ding wrote: > >>>On Fri, Dec 07, 2012 at 02:45:43PM -0800, H. Peter Anvin wrote: >

Re: [PATCH v3 3/4] vxlan: capture inner headers during encapsulation

2012-12-07 Thread Jeff Kirsher
On 12/06/2012 05:56 PM, Joseph Gasparakis wrote: > Allow VXLAN to make use of Tx checksum offloading and Tx scatter-gather. > The advantage to these two changes is that it also allows the VXLAN to > make use of GSO. > > Signed-off-by: Joseph Gasparakis > Signed-off-by: Peter P Waskiewicz Jr >

Re: [PATCH 2/2] ARM: net: bpf_jit_32: fix sp-relative load/stores offsets.

2012-12-07 Thread Mircea Gherzan
Am 06.12.2012 15:38, schrieb Nicolas Schichan: > The offset must be multiplied by 4 to be sure to access the correct > 32bit word in the stack scratch space. > > For instance, a store at scratch memory cell #1 was generating the > following: > > str4, [sp, #1] > > While the correct code for

Re: [PATCH v3 2/4] net: Handle encapsulated offloads before fragmentation or handing to lower dev

2012-12-07 Thread Jeff Kirsher
On 12/06/2012 05:56 PM, Joseph Gasparakis wrote: > From: Alexander Duyck > > This change allows the VXLAN to enable Tx checksum offloading even on > devices that do not support encapsulated checksum offloads. The > advantage to this is that it allows for the lower device to change due > to

Re: [PATCH v3 1/4] net: Add support for hardware-offloaded encapsulation

2012-12-07 Thread Jeff Kirsher
On 12/06/2012 05:56 PM, Joseph Gasparakis wrote: > This patch adds support in the kernel for offloading in the NIC Tx and Rx > checksumming for encapsulated packets (such as VXLAN and IP GRE). > > Signed-off-by: Joseph Gasparakis > Signed-off-by: Peter P Waskiewicz Jr > Signed-off-by: Alexander

Re: [PATCH net-next v3 0/3] Multiqueue support in virtio-net

2012-12-07 Thread Stephen Hemminger
On Fri, 07 Dec 2012 15:35:56 -0500 (EST) David Miller wrote: > From: Jason Wang > Date: Sat, 8 Dec 2012 01:04:54 +0800 > > > This series is an update version (hope the final version) of multiqueue > > (VIRTIO_NET_F_MQ) support in virtio-net driver. All previous comments were > > addressed,

Re: [PATCH net-next v3 1/3] virtio-net: separate fields of sending/receiving queue from virtnet_info

2012-12-07 Thread Stephen Hemminger
Minor style issue reported by checkpatch which can be fixed after merge. Although sizeof is actually an operator in C, it is considered correct style to treat it as a function. WARNING: sizeof hdr->hdr should be sizeof(hdr->hdr) #293: FILE: drivers/net/virtio_net.c:395: +

[PATCH] gpio/gpio-generic: Add OF bindings

2012-12-07 Thread Jason Gunthorpe
Allow the platform driver to bind through OF. The existing OF machinery for setting the resource names through OF is used to configure the device, so the change is minimally intrusive and fully featured. Signed-off-by: Jason Gunthorpe --- .../devicetree/bindings/gpio/gpio-generic.txt |

Re: [PATCH] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const

2012-12-07 Thread H. Peter Anvin
On 12/07/2012 03:03 PM, Cong Ding wrote: On Fri, Dec 07, 2012 at 02:56:16PM -0800, H. Peter Anvin wrote: On 12/07/2012 02:49 PM, Cong Ding wrote: On Fri, Dec 07, 2012 at 02:45:43PM -0800, H. Peter Anvin wrote: Patch description please? there are 2 consts in the definition of one variable

Re: [PATCH 000/493] remove CONFIG_HOTPLUG as an option

2012-12-07 Thread Grant Likely
On Fri, Dec 7, 2012 at 5:16 PM, Greg KH wrote: > On Fri, Dec 07, 2012 at 01:47:48PM +, Grant Likely wrote: >> On Wed, 5 Dec 2012 16:39:23 -0800, Greg KH >> wrote: >> > On Thu, Dec 06, 2012 at 12:27:42AM +, Grant Likely wrote: >> > > On Wed, 21 Nov 2012 20:07:23 -0500,

Re: [PATCH 1/2] ARM: net: bpf_jit_32: fix kzalloc gfp/size mismatch.

2012-12-07 Thread Mircea Gherzan
Am 06.12.2012 15:38, schrieb Nicolas Schichan: > Official prototype for kzalloc is: > > void *kzalloc(size_t, gfp_t); > > The ARM bpf_jit code was having the assumption that it was: > > void *kzalloc(gfp_t, size); > > This was resulting the use of some random GFP flags depending on the > size

Re: [PATCH] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const

2012-12-07 Thread Cong Ding
On Fri, Dec 07, 2012 at 02:56:16PM -0800, H. Peter Anvin wrote: > On 12/07/2012 02:49 PM, Cong Ding wrote: > >On Fri, Dec 07, 2012 at 02:45:43PM -0800, H. Peter Anvin wrote: > >>Patch description please? > >there are 2 consts in the definition of one variable > > > > Please put in an actual patch

Re: [PATCH] Debugging: Keep track of page owners

2012-12-07 Thread Dave Hansen
On 12/07/2012 02:44 PM, Andrew Morton wrote: > AFACIT that difference was undescribed. I can see that the new version > uses the stack-tracing infrastructure, but the change to > pagetypeinfo_showmixedcount_print() is a mystery. Ahhh, I assume you're talking about this hunk: >> @@ -976,10

Re: [PATCH] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const

2012-12-07 Thread H. Peter Anvin
On 12/07/2012 02:49 PM, Cong Ding wrote: On Fri, Dec 07, 2012 at 02:45:43PM -0800, H. Peter Anvin wrote: Patch description please? there are 2 consts in the definition of one variable Please put in an actual patch description. The first line (subject line) is a title; the patch should

[PATCH] ARM: Orion: Hoist bridge interrupt handling out of the timer

2012-12-07 Thread Jason Gunthorpe
The intent of this patch is to expose the other bridge cause interrupts to users in the kernel. - Add orion_bridge_irq_init to create a new edge triggered interrupt chip based on the bridge cause register - Remove all interrupt register code from time.c and use normal interrupt functions

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-07 Thread Eric Sandeen
On 12/7/12 3:57 PM, Chris Mason wrote: > On Fri, Dec 07, 2012 at 02:49:04PM -0700, Ric Wheeler wrote: >> On 12/07/2012 04:43 PM, Chris Mason wrote: >>> On Fri, Dec 07, 2012 at 02:27:43PM -0700, Theodore Ts'o wrote: On Fri, Dec 07, 2012 at 04:09:32PM -0500, Chris Mason wrote: > Persistent

  1   2   3   4   5   6   7   8   9   10   >