On Thu, Apr 05, 2007 at 01:53:01PM +0400, Oleg Nesterov wrote:Hmm, may be we are getting confused with the word 'reentrant' here. The idea behind this API was to freeze the system for one event only at any given time. However, we can have nested freeze_processes() call for different events. Something like freeze_processes(FE_SUSPEND); /* Do something */ freeze_processes(FE_HOTPLUG_CPU); /* hotplug cpus */ thaw_processes(FE_HOTPLUG_CPU); /* Do something more */ thaw_processes(FE_SUSPEND); So ideally no one is supposed to make a call like freeze_processes(FE_SUSPEND | FE_HOTPLUG_CPU); OR freeze_processes(FE_ALL); I guess I should also put a check for a valid freeze event. Thanks gautham. -- Gautham R Shenoy Linux Technology Center IBM India. "Freedom comes with a price tag of responsibility, which is still a bargain, because Freedom is priceless!" -
| Greg KH | Og dreams of kernels |
| Jens Axboe | [PATCH 31/33] Fusion: sg chaining support |
| Arnd Bergmann | Re: finding your own dead "CONFIG_" variables |
| Mark Brown | [PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset |
| Tony Breeds | [LGUEST] Look in object dir for .config |
git: | |
| Brian Downing | Re: Git in a Nutshell guide |
| John Benes | Re: master has some toys |
| Matthias Lederhofer | [PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree |
| Alexander Sulfrian | [RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set |
| Junio C Hamano | Re: Rss produced by git is not valid xml? |
| Linux Kernel Mailing List | iSeries: fix section mismatch in iseries_veth |
| Linux Kernel Mailing List | ixbge: remove TX lock and redo TX accounting. |
| Linux Kernel Mailing List | ixgbe: fix several counter register errata |
| Linux Kernel Mailing List | b43: fix build with CONFIG_SSB_PCIHOST=n |
| Linux Kernel Mailing List | 9p: block-based virtio client |
