Messages in this thread | | | Subject | Re: [PATCH 1/1] suspend: delete sys_sync() | From | Oliver Neukum <> | Date | Tue, 12 May 2015 08:11:38 +0200 |
| |
On Mon, 2015-05-11 at 16:34 -0400, Len Brown wrote: > But upon reflection, I do not believe that the kernel is adding value > here, > instead it is imposing a policy, and that policy decision is sometimes > prohibitively expensive. > User-space can do this for itself (and in the case of desktop distros, > already does), > and so the kernel should butt-out.
There is however a race condition with doing it in user space. So adding a parameter to select behavior would increase safety a bit.
Regards Oliver
| |