[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CANFwon3gJOtAAAJJyyCG-d9mZ=Yf_sFk=VfsOEps4BjB6EAOJA@mail.gmail.com>
Date: Sat, 28 Apr 2012 21:32:23 +0800
From: Hui Zhu <teawater@...il.com>
To: linux-kernel@...r.kernel.org
Subject: [Question] Is that safe if a modules get_task_mm for a very long time?
Hi,
I check the kernel code found that a lot get_task_mm is use together
with an mmput for a long time.
Do you think I can just an get_task_mm inside a function and use mmput
to release for a long time later?
Thanks,
Hui
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists