public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PSEUDOPATCH] rename is_compat_task
@ 2015-12-07 23:12 Andy Lutomirski
  2015-12-07 23:16 ` Arnd Bergmann
  0 siblings, 1 reply; 9+ messages in thread
From: Andy Lutomirski @ 2015-12-07 23:12 UTC (permalink / raw)
  To: Linus Torvalds, X86 ML, linux-kernel@vger.kernel.org, linux-arch

Hi all-

Every time I look at is_compat_task, I cringe.  That function
determines whether we're in a compat syscall, not whether we're in a
compat task.  There are probably architectures (arm64?) under which
these are the same conditions, but they are definitely *not* the same
thing on x86.

Can we just fix it?  I propose the following patch:

$ find -type f |xargs sed -i -e 's/is_compat_task/in_compat_syscall/g'

If there's general agreement, can we do that at the end of the next
merge window?

I could also send a patch series to add in_compat_syscall, change all
the users, then delete the old stuff, but that seems overcomplicated
for something that's literally just renaming a token.

--Andy

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-12-08  5:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-07 23:12 [PSEUDOPATCH] rename is_compat_task Andy Lutomirski
2015-12-07 23:16 ` Arnd Bergmann
2015-12-07 23:20   ` Andy Lutomirski
2015-12-07 23:42   ` Al Viro
2015-12-08  4:36   ` Ingo Molnar
2015-12-08  4:49     ` Al Viro
2015-12-08  5:01       ` Ingo Molnar
2015-12-08  5:15         ` Al Viro
2015-12-08  5:52           ` Andy Lutomirski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox