> * Only the _current_ task can read/write to tsk->flags, but otherThis means that we are not going to wait for the kernel thread (Parent) to freeze. I guess what vatsa suggested in previous mail is better. freeezer_do_not_count(void) { if (current->mm) { current->flags |= PF_FREEZER_SKIP; } } freezer_count(void) { if (current->mm) { current->flags &= ~PF_FREEZER_SKIP; try_to_freeze(); } } Now if do_fork is called from kernel_thread with CLONE_VFORK we make the freezer wait till that kernel thread is also frozen. I think this is important. with khelper thread it is okey because it is a single threaded workqueue. If do_fork is called via a user process we can skip the Parent if the child got frozen before calling execve. -aneesh -
| Dave Hansen | [RFC][PATCH 0/4] kernel-based checkpoint restart |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Eric Paris | [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning |
git: | |
| David Miller | Re: [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
