View previous topic :: View next topic |
Author |
Message |
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Fri Mar 29, 2013 2:16 am Post subject: Where is CONFIG_INOTIFY kernel configuration option? |
|
|
Powertop keeps indicating that I should enable CONFIG_INOTIFY option. But I am having difficulty finding it. Search indicates that it lives here:
Quote: | Symbol: INOTIFY_USER [=y] │
│ Type : boolean │
│ Prompt: Inotify support for userspace │
│ Defined at fs/notify/inotify/Kconfig:1 │
│ Location: │
│ (1) -> File systems │
│ Selects: ANON_INODES [=y] && FSNOTIFY [=y] |
But I don't see it under File System at all. Am I missing something? |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Fri Mar 29, 2013 3:06 am Post subject: |
|
|
That is INOTIFY_USER, not INOTIFY. I do not see that option in recent kernel configuration options. How exactly is powertop indicating that this feature is missing? |
|
Back to top |
|
|
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Fri Mar 29, 2013 3:15 am Post subject: |
|
|
Hu wrote: | That is INOTIFY_USER, not INOTIFY. I do not see that option in recent kernel configuration options. How exactly is powertop indicating that this feature is missing? |
Whoops. Yes that is correct. When I searched for INOTIFY_USER that is the only option it returns and like you I don't see it in the kernel options.
Powertop kicks this out:
Quote: | Enable the CONFIG_INOTIFY kernel configuration option.
This option allows programs to wait for changes in files and directories
instead of having to poll for these changes |
|
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Fri Mar 29, 2013 9:51 pm Post subject: |
|
|
It looks like the text of that advice is outdated. Enabling INOTIFY_USER satisfies the intent of the advice, though not its literal text. |
|
Back to top |
|
|
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Mon Apr 01, 2013 1:25 am Post subject: |
|
|
Hu wrote: | It looks like the text of that advice is outdated. Enabling INOTIFY_USER satisfies the intent of the advice, though not its literal text. |
Should I report this as a bug and if so where? Gentoo? Powertop? |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Mon Apr 01, 2013 3:37 am Post subject: |
|
|
Yes. As I understand your posts, it sounds like the bad message is from Powertop itself, so report it to the Powertop authors. |
|
Back to top |
|
|
|