Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1449278
| From | Linus Torvalds <torvalds@linux-foundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC/PATCH 00/14] split exception table content out of module.h into extable.h |
| Date | 2016-07-25 06:20 +0200 |
| Message-ID | <rYFx0-8mq-13@gated-at.bofh.it> (permalink) |
| References | <rYF3X-7Xa-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, Jul 24, 2016 at 8:42 PM, Paul Gortmaker
<paul.gortmaker@windriver.com> wrote:
>
> While doing an audit looking for unnecessary instances of module.h
> inclusion across arch/x86/ I found a significant number of includes
> of module.h were for things like search_exception_table and friends.
>
> For historical reasons (i.e. pre-git) the exception table stuff was
> buried in the middle of the module.h file. So we have core kernel
> files that are completely non-modular (both arch specific and arch
> independent) that are just including module.h for this.
>
> The converse is also true, in that conventional drivers, be they for
> filesystems or actual hardware peripherals or similar, do not
> normally care about the exception tables.
>
> Here we fork the exception table content [...]
This looks to be the right thing to do as far as I can tell. I'm not
sure how big of a problem the extable stuff is (we definitely have
much bigger unnecessary include files that cause a lot more problems),
but it seems like a reasonable cleanup.
Linus
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[RFC/PATCH 00/14] split exception table content out of module.h into extable.h Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-07-25 05:50 +0200 Re: [RFC/PATCH 00/14] split exception table content out of module.h into extable.h Linus Torvalds <torvalds@linux-foundation.org> - 2016-07-25 06:20 +0200
csiph-web