- 
                Notifications
    You must be signed in to change notification settings 
- Fork 152
[host] adds init-paging feature #639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| Nice! Have you considered a runtime config vs cargo feature? | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of suggestions
| 
 Yes, but for this use-case I think a cargo feature is preferred. Users that are disabling paging will most probably be wanting run a specific type of binary (e.g., Nanvix) where you either want paging or not, so I don't think they'll want to mix-and-match different configs there at runtime. Plus, having to bubble that config option all the way to  | 
| 
 I think I personally would prefer a runtime config (opt out), to avoid a large feature matrix. | 
| 
 But then you'd just have a larger runtime config matrix? Not sure if there's an 100% right option here. Are you ok w/ proceeding w/ a feature at first? cc: @simongdavies ?* | 
| 
 I don't think it makes sense to have this as a runtime config, since this is something that's either required statically or not, I understand the concern about proliferation of features but this one really should be a feature not a configuration option IMO | 
ea16e07    to
    9285035      
    Compare
  
    9285035    to
    ae61316      
    Compare
  
    67201a9    to
    2fea180      
    Compare
  
    This is an extra feature flag that allows disabling our paging setup. This is needed to further enable custom guests and should not impact any of our current workloads. init-paging is on by default. Signed-off-by: danbugs <[email protected]>
2fea180    to
    68256f1      
    Compare
  
    
This is an extra feature flag that allows disabling our paging setup (when removed). This is needed to further enable custom guests and should not impact any of our current workloads. init-paging is on by default.