Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-12-14 Thread Peter Zijlstra
On Fri, 2007-12-14 at 16:14 +0100, Miklos Szeredi wrote: > > Neil suggested using device numbers which would work, however I think > > those might not be human friendly. While its easy to find the device > > number of a given path (eg.: stat -c %d /), its rather hard to find the > > path belonging

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-12-14 Thread Miklos Szeredi
> Neil suggested using device numbers which would work, however I think > those might not be human friendly. While its easy to find the device > number of a given path (eg.: stat -c %d /), its rather hard to find the > path belonging to a given device number. Ram Pai had a patch which added the de

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-12-14 Thread Peter Zijlstra
On Fri, 2007-10-26 at 12:37 -0400, Trond Myklebust wrote: > On Fri, 2007-10-26 at 16:48 +0200, Peter Zijlstra wrote: > > > Miklos, Trond: could you suggest a better fmt for the bdi_init_fmt() for > > your > > respective filesystems? > > > Index: linux-2.6-2/fs/nfs/client.c > > =

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-11-02 Thread Kay Sievers
On Fri, 2007-11-02 at 15:17 +0100, Peter Zijlstra wrote: > One more question, > > I currently prefix the names with "bdi-", is that needed? Not really. > That is, if I give the bdi object a parent, how will it look? > Would a bdi device with name "sda" with a block device called "sda" as > paren

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-11-02 Thread Peter Zijlstra
One more question, I currently prefix the names with "bdi-", is that needed? That is, if I give the bdi object a parent, how will it look? Would a bdi device with name "sda" with a block device called "sda" as parent look like: /sys/block/sda/sda? Or would if be called /sys/block/sda/bdi:sda or j

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-11-02 Thread Peter Zijlstra
On Fri, 2007-11-02 at 14:50 +0100, Kay Sievers wrote: > On Nov 2, 2007 2:15 PM, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > Thanks for the help so far, however we're still not quite there. > > > > The below patch still has the funny 20 character name limit. Is there a > > good reason its a char a

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-11-02 Thread Kay Sievers
On Nov 2, 2007 2:15 PM, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > Thanks for the help so far, however we're still not quite there. > > The below patch still has the funny 20 character name limit. Is there a > good reason its a char array like this, and not just a char * to a kstr? > The code does

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-11-02 Thread Peter Zijlstra
Hi, Thanks for the help so far, however we're still not quite there. The below patch still has the funny 20 character name limit. Is there a good reason its a char array like this, and not just a char * to a kstr? The code does kstrdup all over the place, I can't imagine why suddenly limiting it

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-28 Thread Greg KH
On Sat, Oct 27, 2007 at 11:35:45PM +0200, Peter Zijlstra wrote: > On Sat, 2007-10-27 at 23:08 +0200, Kay Sievers wrote: > > All this open-coded attribute stuff should go away and be replaced by: > > bdi_class->dev_attrs = bdi_dev_attrs; > > Otherwise at event time the attributes are not created a

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-27 Thread Peter Zijlstra
On Sat, 2007-10-27 at 23:08 +0200, Kay Sievers wrote: > On Sat, 2007-10-27 at 09:02 -0700, Greg KH wrote: > > Ah, I see a few problems. Here, try this version instead. It's > > compile-tested only, and should be a lot simpler. > > > > Note, we still are not setting the parent to the new bdi str

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-27 Thread Kay Sievers
On Sat, 2007-10-27 at 09:02 -0700, Greg KH wrote: > On Sat, Oct 27, 2007 at 10:39:59AM +0200, Peter Zijlstra wrote: > > On Fri, 2007-10-26 at 19:40 -0700, Greg KH wrote: > > > On Sat, Oct 27, 2007 at 03:18:08AM +0200, Peter Zijlstra wrote: > > > > On Fri, 2007-10-26 at 22:04 +0200, Peter Zijlstra w

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-27 Thread Peter Zijlstra
On Sat, 2007-10-27 at 09:02 -0700, Greg KH wrote: > Ah, I see a few problems. Here, try this version instead. It's > compile-tested only, and should be a lot simpler. > > Note, we still are not setting the parent to the new bdi structure > properly, so the devices will show up in /sys/devices/

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-27 Thread Greg KH
On Sat, Oct 27, 2007 at 10:39:59AM +0200, Peter Zijlstra wrote: > On Fri, 2007-10-26 at 19:40 -0700, Greg KH wrote: > > On Sat, Oct 27, 2007 at 03:18:08AM +0200, Peter Zijlstra wrote: > > > > > > On Fri, 2007-10-26 at 22:04 +0200, Peter Zijlstra wrote: > > > > This crashes and burns on bootup, but

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-27 Thread Peter Zijlstra
On Fri, 2007-10-26 at 19:40 -0700, Greg KH wrote: > On Sat, Oct 27, 2007 at 03:18:08AM +0200, Peter Zijlstra wrote: > > > > On Fri, 2007-10-26 at 22:04 +0200, Peter Zijlstra wrote: > > > This crashes and burns on bootup, but I'm too tired to figure out what I > > > did wrong... will give it anothe

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-26 Thread Greg KH
On Sat, Oct 27, 2007 at 03:18:08AM +0200, Peter Zijlstra wrote: > > On Fri, 2007-10-26 at 22:04 +0200, Peter Zijlstra wrote: > > This crashes and burns on bootup, but I'm too tired to figure out what I > > did wrong... will give it another try tomorrow.. > > Ok, can't sleep.. took a look. I have

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-26 Thread Peter Zijlstra
On Fri, 2007-10-26 at 22:04 +0200, Peter Zijlstra wrote: > This crashes and burns on bootup, but I'm too tired to figure out what I > did wrong... will give it another try tomorrow.. Ok, can't sleep.. took a look. I have several problems here. The thing that makes it go *boom* is the __ATTR_NULL

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-26 Thread Peter Zijlstra
This crashes and burns on bootup, but I'm too tired to figure out what I did wrong... will give it another try tomorrow.. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- block/genhd.c |2 fs/fuse/inode.c |2 fs/nfs/client.c |2 include/l

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-26 Thread Trond Myklebust
On Fri, 2007-10-26 at 16:48 +0200, Peter Zijlstra wrote: > Miklos, Trond: could you suggest a better fmt for the bdi_init_fmt() for your > respective filesystems? > Index: linux-2.6-2/fs/nfs/client.c > === > --- linux-2.6-2.orig/fs/

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-26 Thread Kay Sievers
On Fri, 2007-10-26 at 17:33 +0200, Peter Zijlstra wrote: > On Fri, 2007-10-26 at 17:33 +0200, Kay Sievers wrote: > > On Fri, 2007-10-26 at 17:22 +0200, Peter Zijlstra wrote: > > > On Fri, 2007-10-26 at 17:10 +0200, Kay Sievers wrote: > > > > On Fri, 2007-10-26 at 16:48 +0200, Peter Zijlstra wrote:

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-26 Thread Peter Zijlstra
On Fri, 2007-10-26 at 17:33 +0200, Kay Sievers wrote: > On Fri, 2007-10-26 at 17:22 +0200, Peter Zijlstra wrote: > > On Fri, 2007-10-26 at 17:10 +0200, Kay Sievers wrote: > > > On Fri, 2007-10-26 at 16:48 +0200, Peter Zijlstra wrote: > > > > > > > I appreciate the sysfs people their opinion that /

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-26 Thread Kay Sievers
On Fri, 2007-10-26 at 17:22 +0200, Peter Zijlstra wrote: > On Fri, 2007-10-26 at 17:10 +0200, Kay Sievers wrote: > > On Fri, 2007-10-26 at 16:48 +0200, Peter Zijlstra wrote: > > > > > I appreciate the sysfs people their opinion that /sys/bdi/ might not be > > > the > > > best from their POV, howe

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-26 Thread Peter Zijlstra
On Fri, 2007-10-26 at 17:10 +0200, Kay Sievers wrote: > On Fri, 2007-10-26 at 16:48 +0200, Peter Zijlstra wrote: > > > I appreciate the sysfs people their opinion that /sys/bdi/ might not be the > > best from their POV, however I'm not seeing where to hook the BDI object > > from > > so that it a

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-26 Thread Kay Sievers
On Fri, 2007-10-26 at 16:48 +0200, Peter Zijlstra wrote: > I appreciate the sysfs people their opinion that /sys/bdi/ might not be the > best from their POV, however I'm not seeing where to hook the BDI object from > so that it all makes sense, a few of the things are currently not exposed in > sy

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-26 Thread Miklos Szeredi
> Subject: bdi: debugfs interface > > Expose the BDI stats (and readahead window) in /debug/bdi/ > > I'm still thinking it should go into /sys somewhere, however I just noticed > not all block devices that have a queue have a /queue directory. Noticeably > those that use make_request_fn() as oppo

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-26 Thread Peter Zijlstra
On Wed, 2007-10-03 at 15:35 +0200, Kay Sievers wrote: > On Wed, 2007-10-03 at 12:37 +0200, Peter Zijlstra wrote: > > On Wed, 2007-10-03 at 12:15 +0200, Kay Sievers wrote: > > > On Tue, 2007-10-02 at 22:05 +1000, Nick Piggin wrote: > > > > On Tuesday 02 October 2007 21:40, Peter Zijlstra wrote: > >

revoke (Was: -mm merge plans for 2.6.24)

2007-10-26 Thread Pekka Enberg
Hi, On 10/2/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > revoke-special-mmap-handling.patch > > revoke-special-mmap-handling-vs-fault-vs-invalidate.patch > > revoke-core-code.patch > > slab-api-remove-useless-ctor-parameter-and-reorder-parameters-vs-revoke.patch > > revoke-support-for-ext2-and

Re: -mm merge plans for 2.6.24

2007-10-13 Thread Borislav Petkov
On Sat, Oct 13, 2007 at 01:52:52AM -0700, Andrew Morton wrote: > On Sat, 13 Oct 2007 10:44:55 +0200 Borislav Petkov <[EMAIL PROTECTED]> wrote: > > > can you please add http://lkml.org/lkml/2007/7/30/98 also to the misc-queue > > for > > the warning still persists and the patch is good to go as is

Re: -mm merge plans for 2.6.24

2007-10-13 Thread Andrew Morton
On Sat, 13 Oct 2007 10:44:55 +0200 Borislav Petkov <[EMAIL PROTECTED]> wrote: > can you please add http://lkml.org/lkml/2007/7/30/98 also to the misc-queue > for > the warning still persists and the patch is good to go as is (against current > git > v2.6.23-2840-g752097c, for example) albeit wit

Re: -mm merge plans for 2.6.24

2007-10-13 Thread Borislav Petkov
On Mon, Oct 01, 2007 at 02:22:22PM -0700, Andrew Morton wrote: > #increase-at_vector_size-to-terminate-saved_auxv-properly.patch: Tony wanted > enhancements > increase-at_vector_size-to-terminate-saved_auxv-properly.patch > change-inotifyfs-magic-as-the-same-magic-is-used-for-futexfs-v2.patch > d

Re: Memory controller merge (was Re: -mm merge plans for 2.6.24)

2007-10-10 Thread Balbir Singh
Rik van Riel wrote: > On Tue, 02 Oct 2007 09:51:11 +0530 > Balbir Singh <[EMAIL PROTECTED]> wrote: > >> I was hopeful of getting the bare minimal infrastructure for memory >> control in mainline, so that review is easy and additional changes >> can be well reviewed as well. > > I am not yet convi

Re: Memory controller merge (was Re: -mm merge plans for 2.6.24)

2007-10-10 Thread Rik van Riel
On Tue, 02 Oct 2007 09:51:11 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: > I was hopeful of getting the bare minimal infrastructure for memory > control in mainline, so that review is easy and additional changes > can be well reviewed as well. I am not yet convinced that the way the memory cont

Re: remove zero_page (was Re: -mm merge plans for 2.6.24)

2007-10-10 Thread Linus Torvalds
On Wed, 10 Oct 2007, Nick Piggin wrote: > > It just seems like now might be a good time to just _try_ removing > the zero page Yes. Let's do your patch immediately after the x86 merge, and just see if anybody screams. It might take a while, because I certainly agree that whoever would be af

Re: remove zero_page (was Re: -mm merge plans for 2.6.24)

2007-10-10 Thread Nick Piggin
On Wednesday 10 October 2007 15:20, Linus Torvalds wrote: > On Wed, 10 Oct 2007, Hugh Dickins wrote: > > On Tue, 9 Oct 2007, Nick Piggin wrote: > > > by it ;) To prove my point: the *first* approach I posted to fix this > > > problem was exactly a patch to special-case the zero_page refcounting > >

Re: remove zero_page (was Re: -mm merge plans for 2.6.24)

2007-10-09 Thread Linus Torvalds
On Wed, 10 Oct 2007, Hugh Dickins wrote: > On Tue, 9 Oct 2007, Nick Piggin wrote: > > by it ;) To prove my point: the *first* approach I posted to fix this > > problem was exactly a patch to special-case the zero_page refcounting > > which was removed with my PageReserved patch. Neither Hugh nor

Re: remove zero_page (was Re: -mm merge plans for 2.6.24)

2007-10-09 Thread Hugh Dickins
On Tue, 9 Oct 2007, Nick Piggin wrote: > by it ;) To prove my point: the *first* approach I posted to fix this > problem was exactly a patch to special-case the zero_page refcounting > which was removed with my PageReserved patch. Neither Hugh nor yourself > liked it one bit! True (speaking for me

Re: remove zero_page (was Re: -mm merge plans for 2.6.24)

2007-10-09 Thread Linus Torvalds
On Tue, 9 Oct 2007, Nick Piggin wrote: > > I gave 2 other numbers. After that, it really doesn't matter if I give > you 2 numbers or 200, because it wouldn't change the fact that there > are 3 programs using the ZERO_PAGE that we'll never know about. You gave me no timings what-so-ever. Yes, yo

Re: remove zero_page (was Re: -mm merge plans for 2.6.24)

2007-10-09 Thread Nick Piggin
On Wednesday 10 October 2007 12:22, Linus Torvalds wrote: > On Tue, 9 Oct 2007, Nick Piggin wrote: > > Where do you suggest I go from here? Is there any way I can > > convince you to try it? Make it a config option? (just kidding) > > No, I'll take the damn patch, but quite frankly, I think your ar

Re: remove zero_page (was Re: -mm merge plans for 2.6.24)

2007-10-09 Thread Linus Torvalds
On Tue, 9 Oct 2007, Nick Piggin wrote: > > Where do you suggest I go from here? Is there any way I can > convince you to try it? Make it a config option? (just kidding) No, I'll take the damn patch, but quite frankly, I think your arguments suck. I've told you so before, and asked for numbers

Re: remove zero_page (was Re: -mm merge plans for 2.6.24)

2007-10-09 Thread Nick Piggin
On Wednesday 10 October 2007 00:52, Linus Torvalds wrote: > On Tue, 9 Oct 2007, Nick Piggin wrote: > > I have done some tests which indicate a couple of very basic common tools > > don't do much zero-page activity (ie. kbuild). And also combined with > > some logical arguments to say that a "sane"

Re: remove zero_page (was Re: -mm merge plans for 2.6.24)

2007-10-09 Thread Hugh Dickins
On Tue, 9 Oct 2007, Nick Piggin wrote: > > The commit b5810039a54e5babf428e9a1e89fc1940fabff11 contains the note > > A last caveat: the ZERO_PAGE is now refcounted and managed with rmap > (and thus mapcounted and count towards shared rss). These writes to > the struct page could cause exce

Re: remove zero_page (was Re: -mm merge plans for 2.6.24)

2007-10-09 Thread Linus Torvalds
On Tue, 9 Oct 2007, Nick Piggin wrote: > > I have done some tests which indicate a couple of very basic common tools > don't do much zero-page activity (ie. kbuild). And also combined with some > logical arguments to say that a "sane" app wouldn't be using zero_page much. > (basically -- if the

r/o bind mounts, was Re: -mm merge plans for 2.6.24

2007-10-09 Thread Christoph Hellwig
> r-o-bind-mounts-filesystem-helpers-for-custom-struct-files.patch > r-o-bind-mounts-rearrange-may_open-to-be-r-o-friendly.patch > r-o-bind-mounts-give-permission-a-local-mnt-variable.patch > r-o-bind-mounts-create-cleanup-helper-svc_msnfs.patch <...> > Doesn't seem ready yet I guess we need s

Re: remove zero_page (was Re: -mm merge plans for 2.6.24)

2007-10-09 Thread Nick Piggin
On Thursday 04 October 2007 01:21, Linus Torvalds wrote: > On Wed, 3 Oct 2007, Nick Piggin wrote: > > I don't know if Linus actually disliked the patch itself, or disliked > > my (maybe confusingly worded) rationale? > > Yes. I'd happily accept the patch, but I'd want it clarified and made > obviou

Re: Memory controller merge (was Re: -mm merge plans for 2.6.24)

2007-10-07 Thread Balbir Singh
Hugh Dickins wrote: > On Fri, 5 Oct 2007, Balbir Singh wrote: >> Hugh Dickins wrote: >>> That's where it should happen, yes; but my point is that it very >>> often does not. Because the swap cache page (read in as part of >>> the readaround cluster of some other cgroup, or in swapoff by some >>> o

Re: Memory controller merge (was Re: -mm merge plans for 2.6.24)

2007-10-07 Thread Hugh Dickins
On Fri, 5 Oct 2007, Balbir Singh wrote: > Hugh Dickins wrote: > > > > That's where it should happen, yes; but my point is that it very > > often does not. Because the swap cache page (read in as part of > > the readaround cluster of some other cgroup, or in swapoff by some > > other cgroup) is al

Re: Memory controller merge (was Re: -mm merge plans for 2.6.24)

2007-10-04 Thread Balbir Singh
Hugh Dickins wrote: > On Thu, 4 Oct 2007, Balbir Singh wrote: >> Hugh Dickins wrote: >>> Well, swap control is another subject. I guess for that you'll need >>> to track which cgroup each swap page belongs to (rather more expensive >>> than the current swap_map of unsigned shorts). And I doubt it

Re: Memory controller merge (was Re: -mm merge plans for 2.6.24)

2007-10-04 Thread Paul Menage
On 10/2/07, Hugh Dickins <[EMAIL PROTECTED]> wrote: > > I accept that full swap control is something you're intending to add > incrementally later; but the current state doesn't make sense to me. One comment on swap - ideally it should be a separate subsystem from the memory controller. That way p

Re: Memory controller merge (was Re: -mm merge plans for 2.6.24)

2007-10-04 Thread Hugh Dickins
On Thu, 4 Oct 2007, Balbir Singh wrote: > Hugh Dickins wrote: > > Well, swap control is another subject. I guess for that you'll need > > to track which cgroup each swap page belongs to (rather more expensive > > than the current swap_map of unsigned shorts). And I doubt it'll be > > swap control

Re: Memory controller merge (was Re: -mm merge plans for 2.6.24)

2007-10-03 Thread Balbir Singh
Hugh Dickins wrote: > On Wed, 3 Oct 2007, Balbir Singh wrote: >> Hugh Dickins wrote: >>> Sorry, Balbir, I've failed to get back to you, still attending to >>> priorities. Let me briefly summarize my issue with the mem controller: >>> you've not yet given enough attention to swap. >> I am open to s

A kernel Tracing interface (was Re: -mm merge plans for 2.6.24)

2007-10-03 Thread David Wilder
Andrew- Could you please add the trace patches to the merge list? These patches have been very well reviewed on lkml. I believe they are ready to be merged. The patches can be found here: http://lkml.org/lkml/2007/10/2/236 http://lkml.org/lkml/2007/10/2/237 http://lkml.org/lkml/2007/10/2/238

Re: Memory controller merge (was Re: -mm merge plans for 2.6.24)

2007-10-03 Thread Hugh Dickins
On Wed, 3 Oct 2007, Balbir Singh wrote: > Hugh Dickins wrote: > > > > Sorry, Balbir, I've failed to get back to you, still attending to > > priorities. Let me briefly summarize my issue with the mem controller: > > you've not yet given enough attention to swap. > > I am open to suggestions and w

Re: remove zero_page (was Re: -mm merge plans for 2.6.24)

2007-10-03 Thread Linus Torvalds
On Wed, 3 Oct 2007, Nick Piggin wrote: > > I don't know if Linus actually disliked the patch itself, or disliked > my (maybe confusingly worded) rationale? Yes. I'd happily accept the patch, but I'd want it clarified and made obvious what the problem was - and it wasn't the zero page itself, i

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-03 Thread Peter Zijlstra
On Wed, 2007-10-03 at 15:35 +0200, Kay Sievers wrote: > On Wed, 2007-10-03 at 12:37 +0200, Peter Zijlstra wrote: > > On Wed, 2007-10-03 at 12:15 +0200, Kay Sievers wrote: > > > On Tue, 2007-10-02 at 22:05 +1000, Nick Piggin wrote: > > > > On Tuesday 02 October 2007 21:40, Peter Zijlstra wrote: > >

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-03 Thread Kay Sievers
On Wed, 2007-10-03 at 12:37 +0200, Peter Zijlstra wrote: > On Wed, 2007-10-03 at 12:15 +0200, Kay Sievers wrote: > > On Tue, 2007-10-02 at 22:05 +1000, Nick Piggin wrote: > > > On Tuesday 02 October 2007 21:40, Peter Zijlstra wrote: > > > > On Tue, 2007-10-02 at 13:21 +0200, Kay Sievers wrote: > >

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-03 Thread Martin Knoblauch
--- Peter Zijlstra <[EMAIL PROTECTED]> wrote: > On Mon, 2007-10-01 at 14:22 -0700, Andrew Morton wrote: > > > nfs-remove-congestion_end.patch > > lib-percpu_counter_add.patch > > lib-percpu_counter_sub.patch > > lib-percpu_counter-variable-batch.patch > > lib-make-percpu_counter_add-take-s64.pat

Re: remove zero_page (was Re: -mm merge plans for 2.6.24)

2007-10-03 Thread Andrew Morton
On Wed, 3 Oct 2007 03:45:09 +1000 Nick Piggin <[EMAIL PROTECTED]> wrote: > > mm-use-pagevec-to-rotate-reclaimable-page.patch > > mm-use-pagevec-to-rotate-reclaimable-page-fix.patch > > mm-use-pagevec-to-rotate-reclaimable-page-fix-2.patch > > mm-use-pagevec-to-rotate-reclaimable-page-fix-function-

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-03 Thread Peter Zijlstra
On Wed, 2007-10-03 at 12:15 +0200, Kay Sievers wrote: > On Tue, 2007-10-02 at 22:05 +1000, Nick Piggin wrote: > > On Tuesday 02 October 2007 21:40, Peter Zijlstra wrote: > > > On Tue, 2007-10-02 at 13:21 +0200, Kay Sievers wrote: > > > > > > How about adding this information to the tree then, ins

remove zero_page (was Re: -mm merge plans for 2.6.24)

2007-10-03 Thread Nick Piggin
On Tuesday 02 October 2007 07:22, Andrew Morton wrote: > remove-zero_page.patch > > Linus dislikes it. Probably drop it. I don't know if Linus actually disliked the patch itself, or disliked my (maybe confusingly worded) rationale? To clarify: it is not zero_page that fundamentally causes a p

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-03 Thread Kay Sievers
On Tue, 2007-10-02 at 22:05 +1000, Nick Piggin wrote: > On Tuesday 02 October 2007 21:40, Peter Zijlstra wrote: > > On Tue, 2007-10-02 at 13:21 +0200, Kay Sievers wrote: > > > > How about adding this information to the tree then, instead of > > > creating a new top-level hack, just because somethi

Re: Memory controller merge (was Re: -mm merge plans for 2.6.24)

2007-10-03 Thread Balbir Singh
Hugh Dickins wrote: > On Tue, 2 Oct 2007, Balbir Singh wrote: >> Andrew Morton wrote: >>> memory-controller-add-documentation.patch >>> ... >>> kswapd-should-only-wait-on-io-if-there-is-io.patch >>> >>> Hold. This needs a serious going-over by page reclaim people. >> I mostly agree with your dec

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Nick Piggin
On Tuesday 02 October 2007 21:40, Peter Zijlstra wrote: > On Tue, 2007-10-02 at 13:21 +0200, Kay Sievers wrote: > > How about adding this information to the tree then, instead of > > creating a new top-level hack, just because something that you think > > you need doesn't exist. > > So you suggest

Re: kswapd min order, slub max order [was Re: -mm merge plans for 2.6.24]

2007-10-02 Thread Nick Piggin
On Wednesday 03 October 2007 02:06, Hugh Dickins wrote: > On Mon, 1 Oct 2007, Andrew Morton wrote: > > # > > # slub && antifrag > > # > > have-kswapd-keep-a-minimum-order-free-other-than-order-0.patch > > only-check-absolute-watermarks-for-alloc_high-and-alloc_harder-allocation > >s.patch slub-expl

Re: kswapd min order, slub max order [was Re: -mm merge plans for 2.6.24]

2007-10-02 Thread Christoph Lameter
On Tue, 2 Oct 2007, Christoph Lameter wrote: > The maximum order of allocation used by SLUB may have to depend on the > number of page structs in the system since small systems (128M was the > case that Peter found) can easier get into trouble. SLAB has similar > measures to avoid order 1 alloc

Re: kswapd min order, slub max order [was Re: -mm merge plans for 2.6.24]

2007-10-02 Thread Christoph Lameter
On Tue, 2 Oct 2007, Mel Gorman wrote: > > I agree. I spent a while last week bisecting down to see why my heavily > > swapping loads take 30%-60% longer with -mm than mainline, and it was > > here that they went bad. Trying to keep higher orders free is costly. The larger order allocations may

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Christoph Lameter
On Tue, 2 Oct 2007, KAMEZAWA Hiroyuki wrote: > For fujitsu, problem is called "empty" node. Future SGI platforms (actually also current one can have but nothing like that is deployed to my knowledge) have nodes with only cpus. Current SGI platforms have nodes with just I/O that we so far cannot

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Christoph Lameter
On Tue, 2 Oct 2007, KAMEZAWA Hiroyuki wrote: > > There was a real-world need for this, I think from the Fujitsu guys. That > > should be spelled out in the changelog but isn't. > > Yes, Fujitsu and HP guys really need this memory-less-node support. The SGI guys also need this support in the fu

Re: kswapd min order, slub max order [was Re: -mm merge plans for 2.6.24]

2007-10-02 Thread Mel Gorman
On Tue, 2007-10-02 at 17:06 +0100, Hugh Dickins wrote: > On Mon, 1 Oct 2007, Andrew Morton wrote: > > # > > # slub && antifrag > > # > > have-kswapd-keep-a-minimum-order-free-other-than-order-0.patch > > only-check-absolute-watermarks-for-alloc_high-and-alloc_harder-allocations.patch > > slub-explo

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Lee Schermerhorn
On Tue, 2007-10-02 at 00:43 -0700, Andrew Morton wrote: > On Tue, 2 Oct 2007 16:36:24 +0900 KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: > > > On Tue, 2 Oct 2007 00:18:09 -0700 > > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > > > > > How come? Memoryless node can and do occur in real-world

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Lee Schermerhorn
On Tue, 2007-10-02 at 16:36 +0900, KAMEZAWA Hiroyuki wrote: > On Tue, 2 Oct 2007 00:18:09 -0700 > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > > > How come? Memoryless node can and do occur in real-world machines. > > > > Kernel > > > > should support that? > > > > > > But a node is just

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Nish Aravamudan
On 10/2/07, KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: > On Tue, 2 Oct 2007 00:18:09 -0700 > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > > > How come? Memoryless node can and do occur in real-world machines. > > > > Kernel > > > > should support that? > > > > > > But a node is just defi

new aops merge [was Re: -mm merge plans for 2.6.24]

2007-10-02 Thread Hugh Dickins
On Mon, 1 Oct 2007, Andrew Morton wrote: > fs-introduce-write_begin-write_end-and-perform_write-aops.patch > introduce-write_begin-write_end-aops-important-fix.patch > introduce-write_begin-write_end-aops-fix2.patch > deny-partial-write-for-loop-dev-fd.patch > mm-restore-kernel_ds-optimisations.pat

Re: -mm merge plans for 2.6.24

2007-10-02 Thread Pekka Enberg
On 10/2/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > revoke-special-mmap-handling.patch > revoke-special-mmap-handling-vs-fault-vs-invalidate.patch > revoke-core-code.patch > slab-api-remove-useless-ctor-parameter-and-reorder-parameters-vs-revoke.patch > revoke-support-for-ext2-and-ext3.patch > r

kswapd min order, slub max order [was Re: -mm merge plans for 2.6.24]

2007-10-02 Thread Hugh Dickins
On Mon, 1 Oct 2007, Andrew Morton wrote: > # > # slub && antifrag > # > have-kswapd-keep-a-minimum-order-free-other-than-order-0.patch > only-check-absolute-watermarks-for-alloc_high-and-alloc_harder-allocations.patch > slub-exploit-page-mobility-to-increase-allocation-order.patch > slub-reduce-ant

Re: Memory controller merge (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Hugh Dickins
On Tue, 2 Oct 2007, Balbir Singh wrote: > Andrew Morton wrote: > > memory-controller-add-documentation.patch > > ... > > kswapd-should-only-wait-on-io-if-there-is-io.patch > > > > Hold. This needs a serious going-over by page reclaim people. > > I mostly agree with your decision. I am a little

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Kay Sievers
On 10/2/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > On Tue, 2007-10-02 at 13:21 +0200, Kay Sievers wrote: > > On 10/2/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > > On Tue, 2007-10-02 at 12:31 +0200, Kay Sievers wrote: > > > > > > > What would be the point in another top-level tree for dev

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Peter Zijlstra
On Tue, 2007-10-02 at 13:21 +0200, Kay Sievers wrote: > On 10/2/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > On Tue, 2007-10-02 at 12:31 +0200, Kay Sievers wrote: > > > > > What would be the point in another top-level tree for device > > > information? All devices you are exporting information

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Fengguang Wu
On Tue, Oct 02, 2007 at 01:22:32PM +0200, Kay Sievers wrote: > On 10/2/07, Fengguang Wu <[EMAIL PROTECTED]> wrote: > > On Tue, Oct 02, 2007 at 12:44:21PM +0200, Peter Zijlstra wrote: > > > On Tue, 2007-10-02 at 12:31 +0200, Kay Sievers wrote: > > > > > > > What would be the point in another top-lev

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Kay Sievers
On 10/2/07, Fengguang Wu <[EMAIL PROTECTED]> wrote: > On Tue, Oct 02, 2007 at 12:44:21PM +0200, Peter Zijlstra wrote: > > On Tue, 2007-10-02 at 12:31 +0200, Kay Sievers wrote: > > > > > What would be the point in another top-level tree for device > > > information? All devices you are exporting inf

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Kay Sievers
On 10/2/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > On Tue, 2007-10-02 at 12:31 +0200, Kay Sievers wrote: > > > What would be the point in another top-level tree for device > > information? All devices you are exporting information for, are > > already in the sysfs tree, right? > > Never did fi

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Yasunori Goto
> On Tue, 2 Oct 2007 00:43:24 -0700 > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > On Tue, 2 Oct 2007 16:36:24 +0900 KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> > > > > Don't think so. A node is a lump of circuitry which can have zero or > > > > more > > > > CPUs, IO and memory. > > > > > > > > It

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Fengguang Wu
On Tue, Oct 02, 2007 at 12:44:21PM +0200, Peter Zijlstra wrote: > On Tue, 2007-10-02 at 12:31 +0200, Kay Sievers wrote: > > > What would be the point in another top-level tree for device > > information? All devices you are exporting information for, are > > already in the sysfs tree, right? > >

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Peter Zijlstra
On Tue, 2007-10-02 at 12:31 +0200, Kay Sievers wrote: > What would be the point in another top-level tree for device > information? All devices you are exporting information for, are > already in the sysfs tree, right? Never did find NFS mounts/servers/superblocks or whatever constitutes a BDI fo

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Kay Sievers
On 10/2/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > On Tue, 2007-10-02 at 01:31 -0700, Andrew Morton wrote: > > On Tue, 02 Oct 2007 10:17:05 +0200 Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > > > > On Mon, 2007-10-01 at 14:22 -0700, Andrew Morton wrote: > > > > > > > nfs-remove-congestion_end.

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Andy Whitcroft
On Tue, Oct 02, 2007 at 09:01:10AM +0200, Andi Kleen wrote: > x86_64-sparsemem_vmemmap-2m-page-size-support.patch > x86_64-sparsemem_vmemmap-vmemmap-x86_64-convert-to-new-helper-based-initialisation.patch > > Look like these two should be merged together > > Also I'm concerned about a t

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Peter Zijlstra
On Tue, 2007-10-02 at 01:31 -0700, Andrew Morton wrote: > On Tue, 02 Oct 2007 10:17:05 +0200 Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > > On Mon, 2007-10-01 at 14:22 -0700, Andrew Morton wrote: > > > > > nfs-remove-congestion_end.patch > > > lib-percpu_counter_add.patch > > > lib-percpu_counte

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Andrew Morton
On Tue, 02 Oct 2007 10:17:05 +0200 Peter Zijlstra <[EMAIL PROTECTED]> wrote: > On Mon, 2007-10-01 at 14:22 -0700, Andrew Morton wrote: > > > nfs-remove-congestion_end.patch > > lib-percpu_counter_add.patch > > lib-percpu_counter_sub.patch > > lib-percpu_counter-variable-batch.patch > > lib-make-p

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Fengguang Wu
On Tue, Oct 02, 2007 at 10:17:05AM +0200, Peter Zijlstra wrote: > On Mon, 2007-10-01 at 14:22 -0700, Andrew Morton wrote: > > > nfs-remove-congestion_end.patch > > lib-percpu_counter_add.patch > > lib-percpu_counter_sub.patch > > lib-percpu_counter-variable-batch.patch > > lib-make-percpu_counter_

per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Peter Zijlstra
On Mon, 2007-10-01 at 14:22 -0700, Andrew Morton wrote: > nfs-remove-congestion_end.patch > lib-percpu_counter_add.patch > lib-percpu_counter_sub.patch > lib-percpu_counter-variable-batch.patch > lib-make-percpu_counter_add-take-s64.patch > lib-percpu_counter_set.patch > lib-percpu_counter_sum_pos

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread KAMEZAWA Hiroyuki
On Tue, 2 Oct 2007 00:43:24 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > On Tue, 2 Oct 2007 16:36:24 +0900 KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> > > > Don't think so. A node is a lump of circuitry which can have zero or more > > > CPUs, IO and memory. > > > > > > It may initially have been

Re: Wireless damage [Was: -mm merge plans for 2.6.24]

2007-10-02 Thread Jiri Slaby
Huh, Cc back lkml. On 10/02/2007 10:08 AM, Jiri Slaby wrote: > On 10/01/2007 11:22 PM, Andrew Morton wrote: >> git-net-vs-git-wireless.patch > > Hum, latest wireless-2.6?h=everything already had a proper fix when this patch > was merged. But pull/push is stuck somewhere :(. > >> git-wireless-vs-

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Andi Kleen
> Grumble. The options are: > > a) export it in the kernel's native size and have userspace figure it > out > b) add a header > c) lie to 32-bit apps on 64-bit kernels > d) always export 32 bits > e) always export 64 bits > > I started with (a), switched to (b), and then Alan and Dave convinced >

v4l-stk11xx* [Was: -mm merge plans for 2.6.24]

2007-10-02 Thread Jiri Slaby
On 10/01/2007 11:22 PM, Andrew Morton wrote: > v4l-stk11xx-add-a-new-webcam-driver.patch > v4l-stk11xx-use-array_size-in-another-2-cases.patch > v4l-stk11xx-use-retval-from-stk11xx_check_device.patch > v4l-stk11xx-add-static-to-tables.patch No, hold it please, until v4l extension will be developpe

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Matt Mackall
On Tue, Oct 02, 2007 at 12:18:09AM -0700, Andrew Morton wrote: > > > If so, that might be OK - the app just needs a reliable way of working out > > > whether it's on a 32- or 64-bit kernel? > > > > That would be ugly and a little error prone (would this case really be > > tested in user space nor

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Thomas Gleixner
On Tue, 2 Oct 2007, Andi Kleen wrote: > On Tue, Oct 02, 2007 at 09:37:03AM +0200, Ingo Molnar wrote: > > > > * Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > On 02 Oct 2007 08:18:17 +0200 Andi Kleen <[EMAIL PROTECTED]> wrote: > > > > > > > The clockevents patches are not included in this; but

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Andrew Morton
On Tue, 2 Oct 2007 16:36:24 +0900 KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: > On Tue, 2 Oct 2007 00:18:09 -0700 > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > > > How come? Memoryless node can and do occur in real-world machines. > > > > Kernel > > > > should support that? > > > > >

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Andi Kleen
On Tue, Oct 02, 2007 at 09:37:03AM +0200, Ingo Molnar wrote: > > * Andrew Morton <[EMAIL PROTECTED]> wrote: > > > On 02 Oct 2007 08:18:17 +0200 Andi Kleen <[EMAIL PROTECTED]> wrote: > > > > > The clockevents patches are not included in this; but given the > > > recent trouble i'm not 100% sure t

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > On 02 Oct 2007 08:18:17 +0200 Andi Kleen <[EMAIL PROTECTED]> wrote: > > > The clockevents patches are not included in this; but given the > > recent trouble i'm not 100% sure they are even ready yet. i'm curious, which "recent trouble" do you refer t

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread KAMEZAWA Hiroyuki
On Tue, 2 Oct 2007 00:18:09 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > How come? Memoryless node can and do occur in real-world machines. > > > Kernel > > > should support that? > > > > But a node is just defined by its memory? > > Don't think so. A node is a lump of circuitry

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Andrew Morton
On Tue, 2 Oct 2007 09:01:10 +0200 Andi Kleen <[EMAIL PROTECTED]> wrote: > > > These are fine to me, but should not all go through my tree > > > because most changes are in other architectures. > > > > I assume you're referring to just > > convert-cpu_sibling_map-to-be-a-per-cpu-variable* here. >

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Andi Kleen
> > These are fine to me, but should not all go through my tree > > because most changes are in other architectures. > > I assume you're referring to just > convert-cpu_sibling_map-to-be-a-per-cpu-variable* here. All the *-to-*per-cpu* patches from Mike yes > > > I have nothing pending currentl

  1   2   >