Re: [RESEND PATCH 05/13] vfs: Replace array of file pointers with an IDR

2017-10-04 Thread Mateusz Guzik
On Tue, Jul 11, 2017 at 06:50:52PM +0530, Sandhya Bankar wrote: > Instead of storing all the file pointers in a single array, use an > IDR. It is RCU-safe, and does not need to be reallocated when the > fd array grows. It also handles allocation of new file descriptors. > > --- > [snip] > @@

Re: [RESEND PATCH 05/13] vfs: Replace array of file pointers with an IDR

2017-10-04 Thread Mateusz Guzik
On Tue, Jul 11, 2017 at 06:50:52PM +0530, Sandhya Bankar wrote: > Instead of storing all the file pointers in a single array, use an > IDR. It is RCU-safe, and does not need to be reallocated when the > fd array grows. It also handles allocation of new file descriptors. > > --- > [snip] > @@

[RESEND PATCH 05/13] vfs: Replace array of file pointers with an IDR

2017-07-11 Thread Sandhya Bankar
Instead of storing all the file pointers in a single array, use an IDR. It is RCU-safe, and does not need to be reallocated when the fd array grows. It also handles allocation of new file descriptors. Signed-off-by: Sandhya Bankar [mawil...@microsoft.com: fixes]

[RESEND PATCH 05/13] vfs: Replace array of file pointers with an IDR

2017-07-11 Thread Sandhya Bankar
Instead of storing all the file pointers in a single array, use an IDR. It is RCU-safe, and does not need to be reallocated when the fd array grows. It also handles allocation of new file descriptors. Signed-off-by: Sandhya Bankar [mawil...@microsoft.com: fixes] Signed-off-by: Matthew Wilcox