public inbox for [email protected]
 help / color / mirror / Atom feed
* CONFIG_IO_URING can be enabled although it is not visible
@ 2024-12-03 13:04 lizetao
  2024-12-03 13:37 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: lizetao @ 2024-12-03 13:04 UTC (permalink / raw)
  To: Jens Axboe, [email protected]; +Cc: [email protected], Pavel Begunkov

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                        

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CONFIG_IO_URING can be enabled although it is not visible
  2024-12-03 13:04 CONFIG_IO_URING can be enabled although it is not visible lizetao
@ 2024-12-03 13:37 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2024-12-03 13:37 UTC (permalink / raw)
  To: lizetao, [email protected]; +Cc: [email protected], Pavel Begunkov

On 12/3/24 6:04 AM, lizetao wrote:
> 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:

>   Visible if: EXPERT [=n]                                               

-- 
Jens Axboe

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-03 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-03 13:04 CONFIG_IO_URING can be enabled although it is not visible lizetao
2024-12-03 13:37 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox