From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 26 Jun 2005 21:24:06 -0700 (PDT) From: Linus Torvalds Subject: Re: [RFC] Fix SMP brokenness for PF_FREEZE and make freezing usable for other purposes In-Reply-To: Message-ID: References: <20050625025122.GC22393@atrey.karlin.mff.cuni.cz> <20050626023053.GA2871@atrey.karlin.mff.cuni.cz> <20050626030925.GA4156@atrey.karlin.mff.cuni.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: Pavel Machek , linux-mm@kvack.org, linux-kernel@vger.kernel.org, raybry@engr.sgi.com List-ID: On Sun, 26 Jun 2005, Christoph Lameter wrote: > > 3. I wish there would be a better way to handle the PF_FREEZE. Its like a > signal delivery after all. Is there any way to define an in kernel signal? > Or a way to make a process execute a certain bit of code? It's called "work", and we have the "TIF_xxx" flags for it. That's how "need-resched" and "sigpending" are done. There could be a "TIF_FREEZEPENDING" thing there too.. Linus -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: aart@kvack.org