[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081125.211913.114802735.davem@davemloft.net>
Date: Tue, 25 Nov 2008 21:19:13 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dannf@...com
Cc: netdev@...r.kernel.org, eteo@...hat.com
Subject: Re: [PATCH] Fix soft lockups/OOM issues w/ unix garbage collector
From: dann frazier <dannf@...com>
Date: Tue, 25 Nov 2008 16:17:13 -0700
> -void unix_gc(void)
> +void wait_for_unix_gc(void)
> {
> - static bool gc_in_progress = false;
> + int error;
> +
> + do {
> + error = wait_event_interruptible(unix_gc_wait,
> + gc_in_progress == false);
> + } while(error);
> +}
If you want a truly uninterruptible wait, simply use wait_event().
Could you make this change and resubmit your patch?
Thanks Dann!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists