Re: [PATCH resend 2/3] vmpressure: do not check for pending work to prevent from new work

2013-07-23 Thread Tejun Heo
On Fri, Jul 19, 2013 at 06:51:10PM +0200, Michal Hocko wrote: > because it is racy and it doesn't give us much anyway as schedule_work > handles this case already. > > Brought-up-by: Tejun Heo > Signed-off-by: Michal Hocko Acked-by: Tejun Heo Thanks. -- tejun -- To unsubscribe from this

Re: [PATCH resend 2/3] vmpressure: do not check for pending work to prevent from new work

2013-07-23 Thread Tejun Heo
On Fri, Jul 19, 2013 at 06:51:10PM +0200, Michal Hocko wrote: because it is racy and it doesn't give us much anyway as schedule_work handles this case already. Brought-up-by: Tejun Heo t...@kernel.org Signed-off-by: Michal Hocko mho...@suse.cz Acked-by: Tejun Heo t...@kernel.org Thanks.

[PATCH resend 2/3] vmpressure: do not check for pending work to prevent from new work

2013-07-19 Thread Michal Hocko
because it is racy and it doesn't give us much anyway as schedule_work handles this case already. Brought-up-by: Tejun Heo Signed-off-by: Michal Hocko --- mm/vmpressure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/vmpressure.c b/mm/vmpressure.c index

[PATCH resend 2/3] vmpressure: do not check for pending work to prevent from new work

2013-07-19 Thread Michal Hocko
because it is racy and it doesn't give us much anyway as schedule_work handles this case already. Brought-up-by: Tejun Heo t...@kernel.org Signed-off-by: Michal Hocko mho...@suse.cz --- mm/vmpressure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/vmpressure.c