Re: [patch-2.4.0-test8-pre6] misc fixes

2000-09-07 Thread Tigran Aivazian
the "vm_mm->mm" was of course a typo and should be read as "vma->vm_mm". Sorry. On Thu, 7 Sep 2000, Tigran Aivazian wrote: > On Thu, 7 Sep 2000, Tigran Aivazian wrote: > > > On Thu, 7 Sep 2000, Linus Torvalds wrote: > > > > > > > > > > > On Thu, 7 Sep 2000, Tigran Aivazian wrote: > > > > >

Re: [patch-2.4.0-test8-pre6] misc fixes

2000-09-07 Thread Tigran Aivazian
On Thu, 7 Sep 2000, Tigran Aivazian wrote: > On Thu, 7 Sep 2000, Linus Torvalds wrote: > > > > > > > On Thu, 7 Sep 2000, Tigran Aivazian wrote: > > > > > > k) all swapout functions in mm/vmscan.c can be optimized by removing 'mm' > > >argument. This part was reviewed by Rick van Riel and

Re: [patch-2.4.0-test8-pre6] misc fixes

2000-09-07 Thread Tigran Aivazian
On Thu, 7 Sep 2000, Linus Torvalds wrote: > > > On Thu, 7 Sep 2000, Tigran Aivazian wrote: > > > > k) all swapout functions in mm/vmscan.c can be optimized by removing 'mm' > >argument. This part was reviewed by Rick van Riel and approved. > > But they then get "mm" themselves anyway. >

Re: [patch-2.4.0-test8-pre6] misc fixes

2000-09-07 Thread Linus Torvalds
On Thu, 7 Sep 2000, Tigran Aivazian wrote: > > k) all swapout functions in mm/vmscan.c can be optimized by removing 'mm' >argument. This part was reviewed by Rick van Riel and approved. But they then get "mm" themselves anyway. What's the point? With argument passing, on certain architect

[patch-2.4.0-test8-pre6] misc fixes

2000-09-07 Thread Tigran Aivazian
Hi Linus, This patch was reviewed by human kind for several hours and there was found no fault in it. It fixes: a) bugfix to read_kmem() which currently can fail on low memory when it should succeed (i.e. when it doesn't need that page) b) nvram driver doesn't handle failures from misc_regi

[patch-2.4.0-test8-pre6] misc fixes

2000-09-07 Thread Tigran Aivazian
Hi guys, Please have a look at this patch - if you find nothing wrong I will send it to Linus later on. It fixes: a) bugfix to read_kmem() which currently can fail on low memory when it should succeed (i.e. when it doesn't need that page) b) nvram driver doesn't handle failures from misc_re