Al Viro <viro@xxxxxxxxxxxxxxxxxx> writes: > On Wed, Dec 08, 2021 at 02:25:27PM -0600, Eric W. Biederman wrote: >> Now that there are no more modular uses of do_exit remove the EXPORT_SYMBOL. >> >> Suggested-by: Christoph Hellwig <hch@xxxxxxxxxxxxx> >> Signed-off-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> >> --- >> kernel/exit.c | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/kernel/exit.c b/kernel/exit.c >> index f975cd8a2ed8..57afac845a0a 100644 >> --- a/kernel/exit.c >> +++ b/kernel/exit.c >> @@ -843,7 +843,6 @@ void __noreturn do_exit(long code) >> lockdep_free_task(tsk); >> do_task_dead(); >> } >> -EXPORT_SYMBOL_GPL(do_exit); > > "Now" in the commit message is misleading, AFAICS - there's no such users > in the mainline right now (and yes, that one could be moved all the way > up). Yes. I should have said. Now there are few enough users of do_exit that I can inspect the code and see there are no more modular users. Or words to that effect. Because honestly my make_task_dead change got rid of most of the callers of do_exit. Eric