CONFIG_IO_URING can be enabled although it is not visible
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
Jens Axboe
maintainerQuoted 5 lines · lizetao
Hi,
When I chose to enable
CONFIG_IO_URING, I found thatCONFIG_IO_URINGcan also be enabled whenCONFIG_EXPERTis 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