Re: [PATCH] move put_task_struct() reaping into a thread [Re: 2.6.18-rt1]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Esben Nielsen <[email protected]> wrote:

> The whole point is to defer those frees to a task. In -rt call_rcu() 
> is abused to do that in the case of put_task_struct(). But it is abuse 
> since call_rcu() is much more resourcefull than simply defering to a 
> task.

nah, it's not nearly as "resourceful" as having a separate thread for 
each teardown type ... It is also the easiest to maintain way of tearing 
down stuff, so i'm quite happy with it. If then i'll move the mm_struct 
teardown to RCU too. (Later on we can do some 'fastpath RCU' thing 
perhaps, to force an RCU batch of work through quiescent state)

but this is quite likely a side-issue that probably has no connection to 
the crash Bill was seeing. Whether separate teardown thread or 
softirq-rcu, it's a separate thread already.

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux