Re: [PATCH 00/33] AutoNUMA27

2012-10-13 Thread Andrea Arcangeli
Hi Srikar, On Sun, Oct 14, 2012 at 12:10:19AM +0530, Srikar Dronamraju wrote: > * Andrea Arcangeli [2012-10-04 01:50:42]: > > > Hello everyone, > > > > This is a new AutoNUMA27 release for Linux v3.6. > > > > > Here results of autonumabenchmark on a 328GB 64 core with ht disabled >

Re: [PATCH RFC] brd: Add miscdevice to control creation and deletion of ramdisks

2012-10-13 Thread Hannes Frederic Sowa
On Sun, Oct 14, 2012 at 04:48:36AM +0200, Hannes Frederic Sowa wrote: > + case BRD_CTL_DEL: > + error = get_user(val, (int __user *)param); > + if (error < 0) > + break; > + if ((val & max_part) != 0) { > + error =

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

2012-10-13 Thread Hillf Danton
Hi Andi, On Sat, Oct 13, 2012 at 11:38 PM, Andi Kleen wrote: > v2: Port to new tree. Fix unmount. > v3: Ported to latest tree. > v4: Ported to latest tree. Minor changes for review feedback. Updated > description. > v5: Remove unnecessary prototypes to fix merge error (Hillf Dalton)

[PATCH RFC] brd: Add miscdevice to control creation and deletion of ramdisks

2012-10-13 Thread Hannes Frederic Sowa
While toying around with a library which needs small block devices for quorum management, I came up with this small patch to dynamically create and destroy ram disks (I wanted to have non-swappable backed devices). I am not really comfortable with the the double-use of the ioctl parameter of

Re: Local DoS through write heavy I/O on CFQ & Deadline

2012-10-13 Thread Hillf Danton
On Sun, Oct 14, 2012 at 3:33 AM, Alex Bligh wrote: > Or perhaps I have the wrong end of the stick. Never mind a friendly link:) -- 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

Re: [GIT PULL] UAPI disintegration for include/linux/{,byteorder/}*.h

2012-10-13 Thread Linus Torvalds
David, I want to make it very clear that if you *ever* suggest another big include file cleanup, I will say "f*ck no" and block you from my emails forever. Ok? So don't bother. We're done with these kinds of games. Forever. It's not worth it, don't ever suggest it again for some other "cleanup".

Re: [GIT PULL] (xen) stable/for-linus-3.7-uapi-tag for v3.7-rc0

2012-10-13 Thread Randy Dunlap
On 10/12/2012 07:16 PM, Linus Torvalds wrote: > On Fri, Oct 12, 2012 at 10:45 PM, Konrad Rzeszutek Wilk > wrote: >> >> Please pull! > > Btw, please use the -M switch to get renames as renames (and > --summary). You diffstat: > >> include/uapi/xen/Kbuild|2 + >>

Re: [PATCH 0/2] RFC SLUB: increase range of kmalloc slab sizes

2012-10-13 Thread Andi Kleen
Richard Kennedy writes: > This patch increases the range of slab sizes available to kmalloc, adding > slabs half way between the existing power of two sized ones, so allowing > slightly > more efficient use of memory. > Most of the new slabs already exist as kmem_cache slabs so only the

Re: [PATCH] mm: cleanup register_node()

2012-10-13 Thread KOSAKI Motohiro
On Fri, Oct 12, 2012 at 4:22 AM, Yasuaki Ishimatsu wrote: > register_node() is defined as extern in include/linux/node.h. But the function > is only called from register_one_node() in driver/base/node.c. > > So the patch defines register_node() as static. > > CC: David Rientjes > CC: Andrew

[PATCH] usb: acm: fix the computation of the number of data bits

2012-10-13 Thread Nicolas Boullis
From: Nicolas Boullis The current code assumes that CSIZE is 060, which appears to be wrong on some arches (such as powerpc). Signed-off-by: Nicolas Boullis --- diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 981f213..194fa8b 100644 ---

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

2012-10-13 Thread Vyacheslav Dubeyko
On Oct 14, 2012, at 12:52 AM, Arnd Bergmann wrote: > On Friday 05 October 2012, 김재극 wrote: >> +const char *media_ext_lists[] = { >> + "jpg", >> + "gif", >> + "png", >> + "avi", >> + "divx", >> + "mp4", >> + "mp3", >> ... > >> + * Set multimedia files as

[PATCH] rtc: davinci: clean up probe/remove routines

2012-10-13 Thread Hannu Heikkinen
Use the devres managed resource functions in the probe routine. Also affects the remove routine where the previously used free and release functions are not needed. The devm_* functions eliminate the need for manual resource releasing and simplify error handling. Resources allocated by devm_*

Re: [PATCH 20/25] sparc: Use Kbuild infrastructure to handle asm-generic headers

2012-10-13 Thread Steven Rostedt
On Sat, 2012-10-13 at 17:54 -0400, David Miller wrote: > I really would like to take less rather than take more. > > This whole UAPI, Kbuild, etc. stuff is just bogging subsystem > maintainers down. This kind of stuff should just go via the person > who does all the work and knows how it all

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

2012-10-13 Thread Vyacheslav Dubeyko
On Oct 14, 2012, at 12:52 AM, Arnd Bergmann wrote: > On Friday 05 October 2012, 김재극 wrote: >> +const char *media_ext_lists[] = { >> + "jpg", >> + "gif", >> + "png", >> + "avi", >> + "divx", >> + "mp4", >> + "mp3", >> ... > >> + * Set multimedia files as

Re: [PATCH 20/25] sparc: Use Kbuild infrastructure to handle asm-generic headers

2012-10-13 Thread David Miller
From: Steven Rostedt Date: Sat, 13 Oct 2012 09:54:00 -0400 > On Fri, 2012-10-12 at 23:19 -0400, David Miller wrote: >> From: Steven Rostedt >> Date: Fri, 12 Oct 2012 22:26:52 -0400 >> >> > From: Steven Rostedt >> > >> > Use Kbuild infrastructure to handle the asm-generic headers >> > and

Re: [PATCH 1/2] UAPI: Unexport part of linux/ppp-comp.h

2012-10-13 Thread David Miller
From: David Howells Date: Sat, 13 Oct 2012 10:08:10 +0100 > Unexport part of linux/ppp-comp.h as userspace can't make use of that bit. > > Signed-off-by: David Howells Acked-by: David S. Miller -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [GIT PULL] Disintegrate UAPI for usb

2012-10-13 Thread Greg KH
On Tue, Oct 09, 2012 at 02:30:48PM +0100, David Howells wrote: > Can you merge the following branch into the usb tree please. > > This is to complete part of the Userspace API (UAPI) disintegration for which > the preparatory patches were pulled recently. After these patches, userspace > headers

[PULL REQ] IXP4xx changes for Linux 3.7

2012-10-13 Thread Krzysztof Halasa
Linus, please pull my ARM IXP4xx changes for 3.7: The following changes since commit 4d7127dace8cf4b05eb7c8c8531fc204fbb195f4: "Merge branch 'for-linus' of git://git.kernel.org/.../jmorris/linux-security" (2012-10-13 11:29:00 +0900) are available in the git repository at:

Re: [dm-crypt] PROBLEM: read starvation during writeback

2012-10-13 Thread Michael Zugelder
Hi, I have a small update on my previously posted test case. I noticed 'cryptsetup -c null' uses cipher_null in ecb mode, and in that case, I don't observe any read starvation. I'm not sure what the default cipher mode is (cryptsetup uses cbc-essiv:sha256), but I can reproduce the problem using

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

2012-10-13 Thread Arnd Bergmann
On Friday 05 October 2012, 김재극 wrote: > +const char *media_ext_lists[] = { > + "jpg", > + "gif", > + "png", > + "avi", > + "divx", > + "mp4", > + "mp3", > ... > + * Set multimedia files as cold files for hot/cold data separation > + */ > +static inline

[RFC] desired behaviour of syscall tracing wrt fork()

2012-10-13 Thread Al Viro
There's a lovely incosistency regarding whether we call trace_sys_exit() for child process on return from fork()/clone()/etc. The current situation: * called on amd64 for 32bit newborns * *NOT* called on i386 or amd64 for 64bit ones * not called on arm *

Re: Local DoS through write heavy I/O on CFQ & Deadline

2012-10-13 Thread Alex Bligh
--On 13 October 2012 21:53:09 +0800 Hillf Danton wrote: Take a look at the "wait for writeback" problem please. Linux 3.0+ Disk performance problem - wrong pdflush behaviour https://lkml.org/lkml/2012/10/10/412 I'm guessing that's related but may not be the whole story. My

Re: Intel graphics drm issue?

2012-10-13 Thread Mark Hounschell
On 10/13/2012 02:57 PM, Mark Hounschell wrote: Hi Bruno, Thanks for the response. On 10/12/2012 05:14 PM, Bruno Prémont wrote: Hi Mark, [CCing intel-gfx] On Fri, 12 October 2012 Mark Hounschell wrote: Not sure this is the correct place to ask about a possible drm issue. I have an intel

Re: [PATCH 00/33] AutoNUMA27

2012-10-13 Thread Srikar Dronamraju
* Andrea Arcangeli [2012-10-04 01:50:42]: > Hello everyone, > > This is a new AutoNUMA27 release for Linux v3.6. > Here results of autonumabenchmark on a 328GB 64 core with ht disabled comparing v3.6 with autonuma27. $ numactl -H available: 8 nodes (0-7) node 0 cpus: 0 1 2 3 4 5 6 7 node 0

Re: [PATCH 01/16] f2fs: add document

2012-10-13 Thread Arnd Bergmann
On Friday 05 October 2012 20:56:06 김재극 wrote: > This adds a document describing the mount options, proc entries, usage, and > design of Flash-Friendly File System, namely F2FS. Nice document! This is a lot like the design I came up with for an experimental file system last year, so I'll try to

Re: [PATCH 1/1] tools: hv: Return the full kernel version

2012-10-13 Thread Greg KH
On Sat, Oct 13, 2012 at 04:03:31PM +, KY Srinivasan wrote: > > > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Saturday, October 13, 2012 2:45 AM > > To: KY Srinivasan > > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > >

Re: [PATCH] binfmt_script: do not leave interp on stack

2012-10-13 Thread Kees Cook
On Fri, Oct 12, 2012 at 10:50 PM, halfdog wrote: > Kees Cook wrote: >> More importantly, I also wonder if interp handling to just be >> changed to be an allocation that needs to be cleaned up, as done with >> argv? > > You mean like an allocation on the stack of the new process' growing > stack?

Re: [git pull] vfs pile 3

2012-10-13 Thread Al Viro
On Sat, Oct 13, 2012 at 12:04:55PM -0400, Christoph Hellwig wrote: > On Sat, Oct 13, 2012 at 05:01:15PM +0100, Al Viro wrote: > > You know, I'm in the middle of dealing with one such TODO. Yours, as it > > were. From six years ago. kernel_thread() unexporting. TODO comments > > of any form are

Re: [PATCH 1/2] uapi: update includes for drm content when no kernel API exists

2012-10-13 Thread Luis R. Rodriguez
On Sat, Oct 13, 2012 at 3:33 AM, Laurent Pinchart wrote: > Hi Luis, > > On Friday 12 October 2012 16:49:31 Luis R. Rodriguez wrote: >> From: "Luis R. Rodriguez" >> >> The UAPI changes split kernel API and userspace API >> content onto two separate header files. The userspace >> API drm content

[PATCH 2/2] SLUB: increase the range of slab sizes available to kmalloc, allowing a somewhat more effient use of memory.

2012-10-13 Thread Richard Kennedy
This patch add new slabs sized at 1.5 * 2^n. i.e - 24,48,96,192,384,768,1.5k,3k,6k Most of which already exist as kmem_cache slabs, except for 1.5k, 3k & 6k. There is no extra overhead for statically sized kmalloc, and only a small change for dynamically sized ones. Minimal code changes:

[PATCH 1/2] SLUB: remove hard coded magic numbers from resiliency_test

2012-10-13 Thread Richard Kennedy
Use the always inlined function kmalloc_index to translate sizes to indexes, so that we don't have to have the slab indexes hard coded in two places. Signed-off-by: Richard Kennedy --- mm/slub.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mm/slub.c

[PATCH 0/2] RFC SLUB: increase range of kmalloc slab sizes

2012-10-13 Thread Richard Kennedy
This patch increases the range of slab sizes available to kmalloc, adding slabs half way between the existing power of two sized ones, so allowing slightly more efficient use of memory. Most of the new slabs already exist as kmem_cache slabs so only the 1.5k,3k & 6k are entirely new. The code

Re: [PATCH v4 3/4] fat (exportfs): rebuild directory-inode if fat_dget() fails

2012-10-13 Thread OGAWA Hirofumi
Namjae Jeon writes: > + if (!fat_get_dotdot_entry(child_dir->d_inode, _bh, )) { > + parent_logstart = fat_get_start(sbi, de); > parent_inode = fat_dget(sb, parent_logstart); > + if (parent_inode || sbi->options.nfs != FAT_NFS_NOSTALE_RO)

[PATCH 2/2] Tools: hv: Don't return loopback addresses

2012-10-13 Thread K. Y. Srinivasan
Don't return loopback addresses and further don't terminate the IP address strings with a semicolon. This is the current behavior of Windows guests. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reported-by: Claudio Latini --- tools/hv/hv_kvp_daemon.c | 13 + 1

[PATCH 1/2] tools: hv: Return the full kernel version

2012-10-13 Thread K. Y. Srinivasan
Currently, we are returning the same string for both OSBuildNumber and OSVersion keys. Return the full uts string for the OSBuild key since Windows does not impose any restrictions on this. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reported-by: Claudio Latini ---

[PATCH 0/2] Tools: hv: kvp_daemon

2012-10-13 Thread K. Y. Srinivasan
This patch-set makes KVP implementation track the implementation on Windows guests with regards to how IP addresses are returned. Additionally, we also returns more information for the OSBuild key. K. Y. Srinivasan (2): tools: hv: Return the full kernel version Tools: hv: Don't return

Re: [PATCH 17/22] ncpfs: drop vmtruncate

2012-10-13 Thread Christoph Hellwig
> if (attr->ia_size != i_size_read(inode)) { > - result = vmtruncate(inode, attr->ia_size); > + result = inode_newsize_ok(inode, attr->ia_size); > if (result) > goto out; > + > +

Re: [PATCH 14/22] hostfs: drop vmtruncate

2012-10-13 Thread Christoph Hellwig
> +++ b/fs/hostfs/hostfs_kern.c > @@ -848,9 +848,11 @@ int hostfs_setattr(struct dentry *dentry, struct iattr > *attr) > attr->ia_size != i_size_read(inode)) { > int error; > > - error = vmtruncate(inode, attr->ia_size); > - if (err) > -

Re: [PATCH 09/22] bfs: drop vmtruncate

2012-10-13 Thread Christoph Hellwig
> @@ -171,8 +171,9 @@ static int bfs_write_begin(struct file *file, struct > address_space *mapping, > bfs_get_block); > if (unlikely(ret)) { > loff_t isize = mapping->host->i_size; > - if (pos + len > isize) > -

Re: [PATCH 07/22] adfs: drop vmtruncate

2012-10-13 Thread Christoph Hellwig
> @@ -57,8 +57,9 @@ static int adfs_write_begin(struct file *file, struct > address_space *mapping, > _I(mapping->host)->mmu_private); > if (unlikely(ret)) { > loff_t isize = mapping->host->i_size; > - if (pos + len > isize) > -

Re: [PATCH 06/22] ocfs2: drop vmtruncate

2012-10-13 Thread Christoph Hellwig
> if ((attr->ia_valid & ATTR_SIZE) && > attr->ia_size != i_size_read(inode)) { > - status = vmtruncate(inode, attr->ia_size); > + status = inode_newsize_ok(inode, attr->ia_size); > if (status) { > mlog_errno(status); >

Re: [PATCH 04/22] procfs: drop vmtruncate

2012-10-13 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig -- 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.tux.org/lkml/

Re: [PATCH 01/22] ufs: drop vmtruncate

2012-10-13 Thread Christoph Hellwig
> @@ -536,8 +536,9 @@ static int ufs_write_begin(struct file *file, struct > address_space *mapping, > ufs_getfrag_block); > if (unlikely(ret)) { > loff_t isize = mapping->host->i_size; > - if (pos + len > isize) > -

Re: [git pull] vfs pile 3

2012-10-13 Thread Christoph Hellwig
On Sat, Oct 13, 2012 at 05:01:15PM +0100, Al Viro wrote: > You know, I'm in the middle of dealing with one such TODO. Yours, as it > were. From six years ago. kernel_thread() unexporting. TODO comments > of any form are routinely shat upon and ignored, especially when shuffled > away into less

RE: [PATCH 1/1] tools: hv: Return the full kernel version

2012-10-13 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Saturday, October 13, 2012 2:45 AM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > o...@aepfle.de; > a...@canonical.com; jasow...@redhat.com > Subject: Re: [PATCH

Re: [git pull] vfs pile 3

2012-10-13 Thread Al Viro
On Sat, Oct 13, 2012 at 11:48:10AM -0400, Christoph Hellwig wrote: > On Sat, Oct 13, 2012 at 08:51:28AM +0100, Al Viro wrote: > > It's somewhat pointless on its own... If you were doing something with > > the callers afterwards - sure, it would be make sense, but as it is... > > I'd really like

Re: [git pull] vfs pile 3

2012-10-13 Thread Christoph Hellwig
On Sat, Oct 13, 2012 at 08:51:28AM +0100, Al Viro wrote: > It's somewhat pointless on its own... If you were doing something with > the callers afterwards - sure, it would be make sense, but as it is... I'd really like to see ->truncate and vmtruncate done, so from that side I'm absolutely in

Re: [PATCH 1/1] task_work: Add local_irq_enable() into task_work_run()

2012-10-13 Thread Al Viro
On Sat, Oct 13, 2012 at 10:59:25PM +1300, Michael Cree wrote: > Any chance that we could have the fixes backported to the stable queue, in > particular to the 3,2 kernel? We should then be able to run the Debian built > SMP kernel on the autobuilders at Debian-Ports rather than having to run a

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

2012-10-13 Thread Andi Kleen
From: Andi Kleen There was some desire in large applications using MAP_HUGETLB/SHM_HUGETLB to use 1GB huge pages on some mappings, and stay with 2MB on others. This is useful together with NUMA policy: use 2MB interleaving on some mappings, but 1GB on local mappings. This patch extends the

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

2012-10-13 Thread Andi Kleen
> > - struct user_struct **user, int creat_flags); > > + struct user_struct **user, int creat_flags, > > + int page_size_log); > > +int hugetlb_get_quota(struct address_space *mapping, long delta); > > +void

Re: [PATCH v4 3/4] fat (exportfs): rebuild directory-inode if fat_dget() fails

2012-10-13 Thread Namjae Jeon
2012/10/13 OGAWA Hirofumi : > Namjae Jeon writes: > >> 2012/10/13 OGAWA Hirofumi : >>> Namjae Jeon writes: >>> + if (!fat_get_dotdot_entry(child_dir->d_inode, _bh, )) { + parent_logstart = fat_get_start(sbi, de); parent_inode = fat_dget(sb,

Re: [Q] Default SLAB allocator

2012-10-13 Thread Eric Dumazet
On Sat, 2012-10-13 at 02:51 -0700, David Rientjes wrote: > On Thu, 11 Oct 2012, Andi Kleen wrote: > > > When did you last test? Our regressions had disappeared a few kernels > > ago. > > > > This was in August when preparing for LinuxCon, I tested netperf TCP_RR on > two 64GB machines (one

Re: [PATCH 04/25] blackfin: Use Kbuild infrastructure for kvm_para.h

2012-10-13 Thread Bob Liu
Hi Steven, On Sat, Oct 13, 2012 at 9:54 PM, Steven Rostedt wrote: > On Sat, 2012-10-13 at 00:12 -0400, Mike Frysinger wrote: >> On Friday 12 October 2012 22:26:36 Steven Rostedt wrote: >> > From: Steven Rostedt >> > >> > All the headers but kvm_para.h use the Kbuild infrastructure to >> > get

Re: [PATCH v4 3/4] fat (exportfs): rebuild directory-inode if fat_dget() fails

2012-10-13 Thread OGAWA Hirofumi
Namjae Jeon writes: > 2012/10/13 OGAWA Hirofumi : >> Namjae Jeon writes: >> >>> + if (!fat_get_dotdot_entry(child_dir->d_inode, _bh, )) { >>> + parent_logstart = fat_get_start(sbi, de); >>> parent_inode = fat_dget(sb, parent_logstart); >>> + if

[PATCH v2] fat: editions to support fat_fallocate()

2012-10-13 Thread Namjae Jeon
Implement preallocation via the fallocate syscall on VFAT partitions. This patch is based on an earlier patch of the same name which had some issues detailed below and did not get accepted. Refer https://lkml.org/lkml/2007/12/22/130. a)The preallocated space was not persistent across remounts

Re: [PATCH 00/25] asm-generic: Convert all to use Kbuild file

2012-10-13 Thread Steven Rostedt
On Sat, 2012-10-13 at 09:09 +, Arnd Bergmann wrote: > Note that while you are addressing all the obvious candidates that > have only a single #include statement in them, there is room to take > this further because a lot of the other header files in architectures > are still identical to

Re: [PATCH 00/25] asm-generic: Convert all to use Kbuild file

2012-10-13 Thread Steven Rostedt
On Sat, 2012-10-13 at 11:17 +0100, Catalin Marinas wrote: > Hi Steven, > > On 13 October 2012 03:26, Steven Rostedt wrote: > > Recently I suggested to someone that was adding a new asm file that > > currently only contained an x86 change to add a header in all archs > > that was just a wrapper

Re: [PATCH 16/25] parisc: Use Kbuild infrastructure to handle asm-generic headers

2012-10-13 Thread Steven Rostedt
On Sat, 2012-10-13 at 13:36 +0100, James Bottomley wrote: > On Fri, 2012-10-12 at 22:26 -0400, Steven Rostedt wrote: > > plain text document attachment > > (0016-parisc-Use-Kbuild-infrastructure-to-handle-asm-gener.patch) > > From: Steven Rostedt > > > > Use Kbuild infrastructure to handle the

Re: [PATCH V2 3/3] ARM: SPEAr13xx: Pass DW DMAC platform data from DT

2012-10-13 Thread Viresh Kumar
On 13 October 2012 19:38, Viresh Kumar wrote: > On 13 October 2012 17:52, Jean-Christophe PLAGNIOL-VILLARD > wrote: >> On 14:18 Sat 13 Oct , Viresh Kumar wrote: >>>On Oct 13, 2012 12:16 PM, "Jean-Christophe PLAGNIOL-VILLARD" >>> wrote: >>>> >>>> On 22:42 Fri 12 Oct ,

Re: [PATCH V2 3/3] ARM: SPEAr13xx: Pass DW DMAC platform data from DT

2012-10-13 Thread Viresh Kumar
On 13 October 2012 17:52, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 14:18 Sat 13 Oct , Viresh Kumar wrote: >>On Oct 13, 2012 12:16 PM, "Jean-Christophe PLAGNIOL-VILLARD" >> wrote: >>> >>> On 22:42 Fri 12 Oct , Viresh Kumar wrote: >>> > On 12 October 2012 21:51,

Re: [PATCH v4 3/4] fat (exportfs): rebuild directory-inode if fat_dget() fails

2012-10-13 Thread Namjae Jeon
2012/10/13 OGAWA Hirofumi : > Namjae Jeon writes: > >> + if (!fat_get_dotdot_entry(child_dir->d_inode, _bh, )) { >> + parent_logstart = fat_get_start(sbi, de); >> parent_inode = fat_dget(sb, parent_logstart); >> + if (parent_inode || sbi->options.nfs !=

Re: [PATCH 23/25] unicore32: Use Kbuild infrastructure for kvm_para.h

2012-10-13 Thread Steven Rostedt
On Sat, 2012-10-13 at 20:27 +0800, guanxue...@mprc.pku.edu.cn wrote: > > From: Steven Rostedt > > > > All the headers but kvm_para.h use the Kbuild infrastructure to > > get to the asm-generic headers. > > I merged the uapi patch for unicore32. > In that patch, kvm_para.h was moved to >

Re: [PATCH v4 2/4] fat (exportfs): rebuild inode if ilookup() fails

2012-10-13 Thread Namjae Jeon
Hi. OGAWA. 2012/10/13 OGAWA Hirofumi : > Namjae Jeon writes: > >> --- a/fs/fat/fat.h >> +++ b/fs/fat/fat.h >> @@ -214,6 +214,13 @@ static inline sector_t fat_clus_to_blknr(struct >> msdos_sb_info *sbi, int clus) >> + sbi->data_start; >> } >> >> +static inline void

Re: [PATCH 15/25] openrisc: Use Kbuild infrastructure for kvm_para.h

2012-10-13 Thread Steven Rostedt
On Sat, 2012-10-13 at 08:32 +0200, Jonas Bonn wrote: > On 13 October 2012 04:26, Steven Rostedt wrote: > > From: Steven Rostedt > > > > All the headers but kvm_para.h use the Kbuild infrastructure to > > get to the asm-generic headers. > > > > Cc: linux-kbu...@vger.kernel.org > > Cc:

Re: [PATCH 04/25] blackfin: Use Kbuild infrastructure for kvm_para.h

2012-10-13 Thread Steven Rostedt
On Sat, 2012-10-13 at 00:12 -0400, Mike Frysinger wrote: > On Friday 12 October 2012 22:26:36 Steven Rostedt wrote: > > From: Steven Rostedt > > > > All the headers but kvm_para.h use the Kbuild infrastructure to > > get to the asm-generic headers. > > Acked-by: Mike Frysinger > -mike Thanks

Re: [PATCH 20/25] sparc: Use Kbuild infrastructure to handle asm-generic headers

2012-10-13 Thread Steven Rostedt
On Fri, 2012-10-12 at 23:19 -0400, David Miller wrote: > From: Steven Rostedt > Date: Fri, 12 Oct 2012 22:26:52 -0400 > > > From: Steven Rostedt > > > > Use Kbuild infrastructure to handle the asm-generic headers > > and remove the wrapper headers that call them. > > > > This only affects

Re: Local DoS through write heavy I/O on CFQ & Deadline

2012-10-13 Thread Hillf Danton
Hi Alex, On Sat, Oct 13, 2012 at 12:29 AM, Alex Bligh wrote: > Michael, > > --On 12 October 2012 16:58:39 +0200 Michal Hocko wrote: > >> Once dirty_ratio (resp. dirty_bytes) limit is hit then the process which >> writes gets throttled. If this is not the case then there is a bug in >> the

Re: dtc: import latest upstream dtc

2012-10-13 Thread Segher Boessenkool
Oh, that's strange. I'm pretty sure I've used -x assembler when I've experimented with using cpp on dts manually before, and it seems to have worked. Maybe you used "-x assembler-with-cpp"? That should work better ;-) Or just use the "-traditional-cpp" option, i.e. "gcc -E -traditional-

Re: [PATCH 1/1] task_work: Add local_irq_enable() into task_work_run()

2012-10-13 Thread Thorsten Kranzkowski
On Sat, Oct 13, 2012 at 10:09:36AM +0900, Linus Torvalds wrote: > On Sat, Oct 13, 2012 at 1:03 AM, Oleg Nesterov wrote: > > arch/alpha and probably some other architectures call > > do_notify_resume()->task_work_run() with irqs disabled. > > I'm going to ignore this patch because I *hope* it is

Re: [PATCH] i2c: tegra: set irq name as device name

2012-10-13 Thread Jean Delvare
On Fri, 12 Oct 2012 23:19:32 +0530, Laxman Dewangan wrote: > When watching the irqs name of tegra i2c, all instances > irq name shows as tegra_i2c. > > Passing the device name properly to have the irq names with > instance like tegra-i2c.0, tegra-i2c.1 etc. > > Signed-off-by: Laxman Dewangan >

Re: [PATCH v2 1/7] swiotlb: Make io_tlb_end a physical address instead of a virtual one

2012-10-13 Thread Hillf Danton
Hi Alexander, On Fri, Oct 12, 2012 at 4:34 AM, Alexander Duyck wrote: > This change replaces all references to the virtual address for io_tlb_end > with references to the physical address io_tlb_end. The main advantage of > replacing the virtual address with a physical address is that we can

Re: [Q] Default SLAB allocator

2012-10-13 Thread Ezequiel Garcia
Hi David, On Sat, Oct 13, 2012 at 6:54 AM, David Rientjes wrote: > On Fri, 12 Oct 2012, Ezequiel Garcia wrote: > >> >> SLUB is a non-starter for us and incurs a >10% performance degradation in >> >> netperf TCP_RR. >> > >> >> Where are you seeing that? >> > > In my benchmarking results. > >>

Re: [PATCH 1/4] MMC: omap_hsmmc: set platform data after probe from DT node

2012-10-13 Thread Grant Likely
Daniel Mack wrote: >On 13.10.2012 10:48, Grant Likely wrote: >> >> somedriver_probe(struct platform_device *pdev) >> { >> struct somedriver_private *somedriver; >> >> somedriver = devm_kzalloc(sizeof (*somedriver), GFP_KERNEL); >> somedriver->pdata = pdev->platform_data; >>

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

2012-10-13 Thread Jaegeuk Kim
2012-10-13 (토), 13:26 +0900, Namjae Jeon: > Is there high possibility that the storage device can be rapidly > worn-out by cleaning process ? e.g. severe fragmentation situation by > creating and removing small files. > Yes, the cleaning process in F2FS induces additional writes so that flash

Re: [PATCH 16/25] parisc: Use Kbuild infrastructure to handle asm-generic headers

2012-10-13 Thread James Bottomley
On Fri, 2012-10-12 at 22:26 -0400, Steven Rostedt wrote: > plain text document attachment > (0016-parisc-Use-Kbuild-infrastructure-to-handle-asm-gener.patch) > From: Steven Rostedt > > Use Kbuild infrastructure to handle the asm-generic headers > and remove the wrapper headers that call them. >

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

2012-10-13 Thread Hillf Danton
Hi Andi, On Fri, Oct 12, 2012 at 7:53 AM, Andi Kleen wrote: > diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h > index 2251648..c626a2a 100644 > --- a/include/linux/hugetlb.h > +++ b/include/linux/hugetlb.h > @@ -183,7 +183,13 @@ extern const struct file_operations >

Re: [PATCH V2 3/3] ARM: SPEAr13xx: Pass DW DMAC platform data from DT

2012-10-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 14:18 Sat 13 Oct , Viresh Kumar wrote: >On Oct 13, 2012 12:16 PM, "Jean-Christophe PLAGNIOL-VILLARD" > wrote: >> >> On 22:42 Fri 12 Oct , Viresh Kumar wrote: >> > On 12 October 2012 21:51, Jean-Christophe PLAGNIOL-VILLARD >> > wrote: >> > >> >> +

Re: [PATCH 23/25] unicore32: Use Kbuild infrastructure for kvm_para.h

2012-10-13 Thread guanxuetao
> From: Steven Rostedt > > All the headers but kvm_para.h use the Kbuild infrastructure to > get to the asm-generic headers. I merged the uapi patch for unicore32. In that patch, kvm_para.h was moved to arch/unicore32/include/uapi/asm/kvm_para.h. Anyway, I'd like to apply this patch based on

Re: [PATCH RESEND] video/udlfb: fix line counting in fb_write

2012-10-13 Thread Alexander Holler
Am 10.10.2012 14:29, schrieb Florian Tobias Schandinat: > On 08/14/2012 07:11 AM, Alexander Holler wrote: >> Line 0 and 1 were both written to line 0 (on the display) and all >> subsequent >> lines had an offset of -1. The result was that the last line on the display >> was never overwritten by

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

2012-10-13 Thread Jaegeuk Kim
2012-10-12 (금), 21:05 +, Arnd Bergmann: > On Friday 05 October 2012 20:56:44 김재극 wrote: > > +struct f2fs_nat_entry { > > + __u8 version; > > + __le32 ino; > > + __le32 block_addr; > > +} __packed; > > + > > +struct f2fs_nat_block { > > + struct f2fs_nat_entry

Re: [PATCH v2 0/4] DMA: PL330: Fix mem leaks and balance probe/remove

2012-10-13 Thread Jassi Brar
On Fri, Oct 5, 2012 at 3:47 PM, Inderpal Singh wrote: > The first 2 patches of this series fix memory leaks because the memory > allocated for peripheral channels and DMA descriptors were not getting > freed. > > The last 2 patches balance the module's remove function. > > This series depends on

[GIT PULL] UAPI disintegration for include/linux/{,byteorder/}*.h

2012-10-13 Thread David Howells
in the git repository at: git://git.infradead.org/users/dhowells/linux-headers.git tags/disintegrate-main-20121013 for you to fetch changes up to 5921e6f8809b1616932ca4afd40fe449faa8fd88: UAPI: (Scripted) Disintegrate include/linux/byteorder (2012-10-13 10:46

Re: [PATCH 1/2] uapi: update includes for drm content when no kernel API exists

2012-10-13 Thread Laurent Pinchart
Hi Luis, On Friday 12 October 2012 16:49:31 Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > The UAPI changes split kernel API and userspace API > content onto two separate header files. The userspace > API drm content was moved to include/uapi/drm/ with the > same file name while

[GIT PULL] Disintegrate UAPI for spi

2012-10-13 Thread David Howells
Hi Linus, Can you merge my spi disintegration patch please? This is to complete part of the Userspace API (UAPI) disintegration for which the preparatory patches were pulled recently. After these patches, userspace headers will be segregated into: include/uapi/linux/.../foo.h for the

Re: [PATCH 00/25] asm-generic: Convert all to use Kbuild file

2012-10-13 Thread Catalin Marinas
Hi Steven, On 13 October 2012 03:26, Steven Rostedt wrote: > Recently I suggested to someone that was adding a new asm file that > currently only contained an x86 change to add a header in all archs > that was just a wrapper to point to the asm-generic version. I suggested > this because that's

[PATCH v3] usbdevfs: Fix broken scatter-gather transfer

2012-10-13 Thread Henrik Rydberg
The handling of large output bulk transfers is broken; the same user page is read over and over again. Fixed with this patch. Cc: sta...@kernel.org Acked-by: Peter Stuge Acked-by: Hans de Goede Acked-by: Alan Stern Signed-off-by: Henrik Rydberg --- Hi Greg, Here is the formal and third

Re: [PATCH 1/1] task_work: Add local_irq_enable() into task_work_run()

2012-10-13 Thread Michael Cree
On Sat 13 October 2012 14:09:36 Linus Torvalds wrote: > On Sat, Oct 13, 2012 at 1:03 AM, Oleg Nesterov wrote: > > arch/alpha and probably some other architectures call > > do_notify_resume()->task_work_run() with irqs disabled. > > I'm going to ignore this patch because I *hope* it is

[PATCH] UAPI: Unexport linux/blk_types.h [ver #2]

2012-10-13 Thread David Howells
It seems that was linux/blk_types.h incorrectly exported to fix up some missing bits required by the exported parts of linux/fs.h (READ, WRITE, READA, etc.). So unexport linux/blk_types.h and unexport the relevant bits of linux/fs.h. Signed-off-by: David Howells cc: Jens Axboe cc: Tejun Heo

[PULL REQUEST] md updates for 3.7

2012-10-13 Thread NeilBrown
MD updates for 3.7. Latish because I needed to wait for the block tree to get merged. Thanks, NeilBrown The following changes since commit 02f3939e1a9357b7c370a4a69717cf9c02452737: block: makes bio_split support bio without data (2012-09-28 10:38:48 +0200) are available in the git

Re: [PATCH] mm: cleanup register_node()

2012-10-13 Thread David Rientjes
On Fri, 12 Oct 2012, Yasuaki Ishimatsu wrote: > register_node() is defined as extern in include/linux/node.h. But the function > is only called from register_one_node() in driver/base/node.c. > > So the patch defines register_node() as static. > > CC: David Rientjes > CC: Andrew Morton >

Re: [Q] Default SLAB allocator

2012-10-13 Thread David Rientjes
On Fri, 12 Oct 2012, Ezequiel Garcia wrote: > >> SLUB is a non-starter for us and incurs a >10% performance degradation in > >> netperf TCP_RR. > > > > Where are you seeing that? > In my benchmarking results. > Notice that many defconfigs are for embedded devices, > and many of them say "use

Re: [PATCH 07/12] staging/iio/lis3l02dq: fix building without irq_to_gpio

2012-10-13 Thread Jonathan Cameron
On 09/29/2012 04:03 PM, Arnd Bergmann wrote: > On Saturday 29 September 2012, Jonathan Cameron wrote: >> On 09/28/2012 10:36 PM, Arnd Bergmann wrote: >>> The driver has not been building for some time after the >>> irq_to_gpio function has been removed from the kernel. >>> >>> The only board in

Re: [Q] Default SLAB allocator

2012-10-13 Thread David Rientjes
On Thu, 11 Oct 2012, Andi Kleen wrote: > When did you last test? Our regressions had disappeared a few kernels > ago. > This was in August when preparing for LinuxCon, I tested netperf TCP_RR on two 64GB machines (one client, one server), four nodes each, with thread counts in multiples of

3.6.2 causes build errors again [was: master/i586/desktop: BUILD FAILED]

2012-10-13 Thread Jiri Slaby
Hi, This one recurred :(. Why was the dependency added by: commit 24cc7fb69a5b5edfdff1d38c6a213d6a33648829 Author: Jeff Mahoney Date: Thu Sep 20 10:28:45 2012 -0400 x86/kbuild: archscripts depends on scripts_basic removed in this commit upstream: commit

Re: [PATCH] linux/compiler.h: Add __must_hold macro for functions called with a lock held

2012-10-13 Thread Sam Ravnborg
On Tue, Oct 09, 2012 at 01:36:28PM -0700, Josh Triplett wrote: > On Tue, Oct 09, 2012 at 01:06:37PM -0700, Andrew Morton wrote: > > On Sun, 7 Oct 2012 19:06:10 -0700 > > Josh Triplett wrote: > > > > > linux/compiler.h has macros to denote functions that acquire or release > > > locks, but not to

3.7.0-pre-rc1 INFO: inconsistent lock state kswapd0/792 [HC0[0]:SC0[0]:HE1:SE1] takes: (_vma->mutex){+.+.?.}, at: [] page_lock_anon_vma+0x12d/0x1a0

2012-10-13 Thread Sander Eikelenboom
On linux kernel 3.7.0-pre-rc1 (last commit = 4d7127dace8cf4b05eb7c8c8531fc204fbb195f4) I get: [ 2954.552722] [ 2954.563914] = [ 2954.573011] [ INFO: inconsistent lock state ] [ 2954.582002] 3.6.0pre-rc1-20121013 #1 Tainted: GW [ 2954.591174

Re: [PATCH v4 3/4] fat (exportfs): rebuild directory-inode if fat_dget() fails

2012-10-13 Thread OGAWA Hirofumi
Namjae Jeon writes: > + if (!fat_get_dotdot_entry(child_dir->d_inode, _bh, )) { > + parent_logstart = fat_get_start(sbi, de); > parent_inode = fat_dget(sb, parent_logstart); > + if (parent_inode || sbi->options.nfs != FAT_NFS_NOSTALE_RO) > +

Re: [PATCH 00/25] asm-generic: Convert all to use Kbuild file

2012-10-13 Thread Arnd Bergmann
On Friday 12 October 2012 22:26:32 Steven Rostedt wrote: > > Please feel free to pluck these patches into your architecture and > run them to make sure that they boot as well (I only had the compiler > and not the box... Also I only tested with defconfig, I may have > broken other configs). > >

[PATCH 2/2] UAPI: Unexport linux/blk_types.h

2012-10-13 Thread David Howells
It seems that was linux/blk_types.h incorrectly exported to fix up some missing bits required by the exported parts of linux/fs.h (READ, WRITE, READA, etc.). So unexport linux/blk_types.h and unexport the relevant bits of linux/fs.h. Signed-off-by: David Howells cc: Jens Axboe cc: Tejun Heo

[PATCH 1/2] UAPI: Unexport part of linux/ppp-comp.h

2012-10-13 Thread David Howells
Unexport part of linux/ppp-comp.h as userspace can't make use of that bit. Signed-off-by: David Howells cc: Paul Mackerras cc: David Miller --- include/linux/ppp-comp.h |4 1 file changed, 4 insertions(+) diff --git a/include/linux/ppp-comp.h b/include/linux/ppp-comp.h index

  1   2   3   >