Skip to contentSkip to conversation

CONFIG_IO_URING can be enabled although it is not visible

DISCUSSION lizetao 2 participants 2 messages Dec 3, 2024 io_uring

lore
Share & tools
lore

lizetao

author
#0 lore raw

Hi,

When I chose to enable CONFIG_IO_URING, I found that CONFIG_IO_URING can also be enabled when CONFIG_EXPERT is n. It seems that other macros are in a similar situation, so is this reasonable?

Symbol: IO_URING [=y]
Type : bool
Defined at init/Kconfig:1726
Prompt: Enable IO uring support
Visible if: EXPERT [=n]
Location:

    -> General setup                                                    
(1)   -> Configure standard kernel features (expert users) (EXPERT [=n])
        -> Enable IO uring support (IO_URING [=y])                      

Selects: IO_WQ [=n]
Selected by [n]:
- BLK_DEV_UBLK [=n] && BLK_DEV [=y]

--
Li Zetao

maintainer
#1 lore raw
Quoted 5 lines · lizetao

Hi,

When I chose to enable CONFIG_IO_URING, I found that CONFIG_IO_URING can also be enabled when CONFIG_EXPERT is n. It seems that other macros are in a similar situation, so is this reasonable?

The point of EXPERT isn't to make certain things only enableable if EXPRT is set, it's just controls the visibility of the symbols. As your quote shows too:

Quoted 1 line

Visible if: EXPERT [=n]

Signature · 1 line
Jens Axboe