Re: [PATCH] Fix large allocation in nfsd init

2005-01-29 Thread Anton Blanchard
Hi Neil, > Given that the purpose of this order-5 allocation is to provide > storage for 1024 "struct svc_cacherep" structs, it would seem that a > better approach would be to just do 1024 kmallocs. > > I'll try to knock a patch together in next week sometime. That works for me. Anton - To uns

Re: [PATCH] Fix large allocation in nfsd init

2005-01-26 Thread Neil Brown
On Thursday January 27, [EMAIL PROTECTED] wrote: > > Hi, > > I just added an NFS mount to a ppc64 box that had been up for a while. > This required inserting the nfsd module. Unfortunately it failed: > > modprobe: page allocation failure. order:5, mode:0xd0 > Trace: > [c00ba0f8] alloc_

[PATCH] Fix large allocation in nfsd init

2005-01-26 Thread Anton Blanchard
Hi, I just added an NFS mount to a ppc64 box that had been up for a while. This required inserting the nfsd module. Unfortunately it failed: modprobe: page allocation failure. order:5, mode:0xd0 Trace: [c00ba0f8] alloc_pages_current+0xc0/0xe4 [c00941fc] __get_free_pages+0x54/0x