[RESEND PATCH 04/13] idr, radix-tree: Implement copy_preload

2017-07-11 Thread Matthew Wilcox
In the file descriptor table duplication code (called at fork()), we need to duplicate an IDR. But we have to do it under a lock (so another thread doesn't open/close a fd in the middle), and there's no suitable preload operation for this today. Adding just idr_copy_preload() isn't enough as

[RESEND PATCH 04/13] idr, radix-tree: Implement copy_preload

2017-07-11 Thread Matthew Wilcox
In the file descriptor table duplication code (called at fork()), we need to duplicate an IDR. But we have to do it under a lock (so another thread doesn't open/close a fd in the middle), and there's no suitable preload operation for this today. Adding just idr_copy_preload() isn't enough as

[PATCH 04/13] idr, radix-tree: Implement copy_preload

2017-04-29 Thread Sandhya Bankar
In the file descriptor table duplication code (called at fork()), we need to duplicate an IDR. But we have to do it under a lock (so another thread doesn't open/close a fd in the middle), and there's no suitable preload operation for this today. Adding just idr_copy_preload() isn't enough as

[PATCH 04/13] idr, radix-tree: Implement copy_preload

2017-04-29 Thread Sandhya Bankar
In the file descriptor table duplication code (called at fork()), we need to duplicate an IDR. But we have to do it under a lock (so another thread doesn't open/close a fd in the middle), and there's no suitable preload operation for this today. Adding just idr_copy_preload() isn't enough as