Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where is CONFIG_INOTIFY kernel configuration option?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Fri Mar 29, 2013 2:16 am    Post subject: Where is CONFIG_INOTIFY kernel configuration option? Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21593

PostPosted: Fri Mar 29, 2013 3:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Fri Mar 29, 2013 3:15 am    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21593

PostPosted: Fri Mar 29, 2013 9:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Mon Apr 01, 2013 1:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21593

PostPosted: Mon Apr 01, 2013 3:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum