[PATCH 1/3] procfs: Export next_tgid(), move it to kernel/pid.c

Oleg Nesterov oleg at redhat.com
Mon Jan 30 13:43:12 UTC 2012


On 01/30, Anton Vorontsov wrote:
>
> We'd like to use this function in the android low memory killer driver, so
> let's export it.

I guess you mean 3/3.

If lowmem_shrink() can use next_tid() which is not really accurate,
then why tou can't simply change it to use rcu_read_lock ?

Oleg.




More information about the linaro-kernel mailing list