This may be a fix for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231117, the person is testing.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
May 9 2019
May 7 2019
Thanks for the quick spin on this Patrick
May 4 2019
May 3 2019
@jhb it would be good to not have this issue in 11.3
May 2 2019
May 1 2019
You can mark all my comments as done, I am fine with your answers, I added bz and requested his review on the one change.
In D20065#433092, @kib wrote:In D20065#433088, @markj wrote:In D20065#432936, @jhb wrote:In D20065#432918, @markj wrote:In D20065#432917, @jhb wrote:To be clear, the limit isn't being applied today? From the existing code it seems like it should be already in force if I'm reading the diff to vm_map_wire correctly?
The diff is being applied on top of D19908. Without that change, the limit does not get applied to bhyve.
Ok.
Also, if bhyve is allowed to ignore the limit, the amount of wired memory it uses does mean that small requests by, say, gpg will then fail on the host, yes?
Yes, that's right (and true in head today). In the original version of this diff, where bhyve was doing system wiring, that was not the case since system-wired pages are not counted towards the limit.
Ok. I still don't really know how I feel. I think I probably want all long-term wirings to honor the limit as kib@ says and that users will just have to up the limit when using wired VMs with bhyve. If we can get a suitably unique errno value back in whatever creates the wired memory for bhyve and emit a useful error message to the user, that is probably sufficient.
Ok. I guess we can just try and see if there's any fallout. I do think it means that D19908 is not MFCable.
If you add a knob to disable accounting for bhyve requests, it can be merged.
In D19908#433193, @rgrimes wrote:Do we have to add _user_ to the variables, I only see a rename here, and not a second value used in place of where _users_ went in, or am I totally missing something?
Do we have to add _user_ to the variables, I only see a rename here, and not a second value used in place of where _users_ went in, or am I totally missing something?
I have made one quick pass over this, now that I have read all the bits I would like to make a second pass, my comments now are nits mostly, and can be safely ignored. However I do, as others, have some pretty big concerns about sharing the rcvif with tags, is there some great cost in not doing that?
Well this in any way help with the fact we do not apply any pressure to the zfs arc_max and end up in a memory shortfall that causes high paging? I suspect not as most people do not wire there VM's in memory unless they know that is what they need to do to keep zfs from killing your box with OOM
Apr 27 2019
In D20065#431805, @markj wrote:In D20065#431692, @rgrimes wrote:I can see both sides of this, can I ask that the bhyve developers group which meets every 2 weeks be given a chance to discuss this and provide feedback on it? Thanks. Many of us well be at BSDCan a day early for bhyvecon if you wish to discuss it in person.
Why can't the discussion happen here?
Some of it is, but we meet on a cyclic basis to have high bandwidth low delay discussions and I was just asking for the opportunity to allow that discussion to occur. Or if you referring to the in person option that was offered up "if you wish".
Apr 26 2019
I can see both sides of this, can I ask that the bhyve developers group which meets every 2 weeks be given a chance to discuss this and provide feedback on it? Thanks. Many of us well be at BSDCan a day early for bhyvecon if you wish to discuss it in person.
In D19993#431685, @asomers wrote:The symlink is a new addition for 13.0 (and hopefully 12.1). I would be ok with deleting it for 13.0. But how about I commit this change to head first, and then delete the symlink? That will make MFCs cleaner.
Apr 25 2019
This makes it much clearer to me, thanks jhb
Apr 20 2019
We only need to maintain "backwards" compatibility in the stable/ branches (12 and 11) as far as I am concerned head can just nuke the compatibilty link, and have a 13.0 release notes item that is "fuse has been renamed to fusefs".
A question to @jhb, should the order of the enum and the code updated to be in alphabetic order, in a seperate review, it would only obfuscate the change to do it here.
Apr 15 2019
Apr 14 2019
Looks good, other than a lot of extra blank lines.
Apr 12 2019
In D19587#427247, @kevans wrote:Would iflib like any kind of UPDATING or relnote mention for the generated 'stable' MAC address likely changing (since we're restricting the range now to a subset of the FF OUI), or is it fine without explicit mention?
Apr 7 2019
You can mark all my comments as done, you have addressed them to my satisfaction.
Apr 6 2019
Apr 5 2019
In D18670#425449, @crees wrote:In D18670#425443, @rgrimes wrote:I have performed a visual only review.
Greatly appreciated. Can I take that as approval by a src developer?
I have performed a visual only review.
Thank you, that is 100x clearer as to what is in the constant
Apr 3 2019
Confirmation of a working Windows 2019 boot after this patch: https://lists.freebsd.org/pipermail/freebsd-virtualization/2019-April/007333.html
Apr 2 2019
Can we get a review to cause bhyve -b to emit a deprecation warning notice (gone_in(13)) if someone tries to use it? That could be merged to stable/12, then the code in head killed.
This would also apply to the bvmconsole driver, is there someway to emit a warning during config(8) when someone uses a feature being deprecated? Doing this provides us feedback
sooner rather than later that some feature was in use some place.
Looks like someone may of removed a condition at some time in the past and not re-dented the code to produce a minimal diff.
Does this variable get used by default? I saw this here and just ignored it as I thought it would only be invoked if I asked for a DEBUG build from a level above. If we are always adding DEBUG_FLAGS to our compiles perhaps it should be called something else?
Mar 25 2019
Mar 19 2019
Please have a discussion on arch@ or filesystems@, this review needs more discussion
Can I get some final accept on this, I updated the open issues
Mar 15 2019
Mar 14 2019
Mar 11 2019
I like it, just nits, that for the most part you can ignore, other than $FreeBSD: vs $FreeBSD$
Mar 9 2019
This appears to be used to deal with a core hang on specific CPU's, we need to see that we have mitigated that in the host, and the decide what the appropriate action here is, I am uncomfortable with just making this silently disappear. Deferning to jhb.
Though this does fix your issue by silencing the log, it does little to improve the situation. I think what we may want to do is to add yet another option to the bhyve command that along with -w to ignore invalid MSR access to do so silently so that we do not have to add code like this everything a new msr comes into play. John, Patrick your thoughts on this approach?
Mar 8 2019
In D19426#417642, @emaste wrote:I would be comfortable with simply "https://bugs.freebsd.org/12344" as that can likely work forever.
Note that https://bugs.freebsd.org/12344 does work - we should accept either https://bugs.freebsd.org/bugzilla/show_bug.cgi?id= or https://bugs.freebsd.org/[0-9]+
I believe what your wanting is web server re-write rules, that would rewrite the URL in and out of the web pages to have the preffered form. Beyond my area of expertise to implement, but I know it can be done and that is probably the easiest place to do it (ie, no modifying bugzilla should be required.)
Mar 7 2019
I removed a redundant "to" in the description. Patch looks good to me. Copyright over to jhb@
Mar 6 2019
I'll review if you ack your are done updating John
Mar 5 2019
Close, very very close, but still slightly short of leaving no doubt as to what goes here.
Mar 4 2019
Mar 1 2019
Missing is the change to the commit message template to update it to say URL instead of PRxxxx
Feb 28 2019
Convert nat64_check_ip4 in sys/netpfil/ipfw/nat64/nat64_translate.h to use IN_foo macros rather than hand rolled code.
Feb 27 2019
In D19380#414840, @manu wrote:I don't think this is a good approach.
My goal for this is :
- Finish u-boot-install (https://gist.github.com/evadot/1bcad7c4c1e5cc7f9a692f4d19ab5421) to handle multi file u-boot
- Do a rpi-fw-install script and include it in the rpi-firmware package
- Create to GENERICSD image for arm64 (like the armv7 one), one with MBR and one with GPT scheme.
- Remove board configs that have no quirks from release.
- re@ could then create only two images (GENERICSD-MBR, GENERICSD-GPT) and install u-boot on each one based on list somewhere.
In D19316#414645, @karels wrote:I agree with John that we should do everything we can to eliminate class A/B/C rather than just shuffle it around. ..trimmed...
Some of the patches I have already posted do infact remove the direct use of IN_CLASSA by use of the proper macro IN_LOOPBACK. I shall keep an eye out as I look over the code for issues that effect my stated goals in cleaning up things such that IN_ZERONET, IN_LOOPBACK, and IN_EXPERIMENTAL can be used to fully effect all places that are trying to deal with these ranges should they ever be redefined.
Feb 25 2019
The added kernel code seems to be mssing INET/INET6 ifdefs. None of the inline comments are marked done, but the code looks as if you have addressed them.
In D19316#413794, @karels wrote:Re: Classs A/B/C: I'd be quite happy to see those definitions go away.
In my first pass audit of a search results on IN_CLASS[A-E] the common use cases here are the default calculation of netmasks, 2 minutes ago I would of told you that probably can not go away, but it just hit me, IN_DEFAULTMASKFOR(i) could be written that would incorporate the ancient class rules in a central place and cleaning up some code. Thoughts?
Feb 24 2019
In D19316#413638, @karels wrote:I don't understand the purpose of this review. As it says, these changes should not be committed. I'm not actually sure of the official status of Class E, although I suspect it is still experimental/not for production use.
The changes well need expansion, the present form is to make a patch available so that the other patches can be tested.
A walk down through the RFC's say a few things, one is that it is not called Class E anymore. It is still reserved.
Add some more places that hand crafted macros are used, ip_input, ip_output, netdump code.
Feb 23 2019
Address review comments from Patrick Mooney. Found some additional places that caching would be helpful so update them too.
Feb 22 2019
In the future it helps to upload full file diffs, not sure what vcs your using or what its command is, for svn I use svn diff -x U999999.
In D19218#412862, @rmacklem wrote:Whether or not "#ifdef INET6" and "#ifdef INET" should be in the code is still an open question.
I was hoping bz@ could answer this?
(I, personally, was of the understanding that this was no longer required/recommended for
FreeBSD sources. If bz@ does not know the correct answer for this, I will ask on freebsd-net@.)
At this point I have made no changes to the Makefile.
To build/run it, there is a small kernel change required, but I did not include that in this review.
Feb 21 2019
Add handling of cores or threads > 254 by truncating to 0, per smbios 2.6 spec
In D18998#412749, @jhb wrote:FYI, you can get SMBIOS specs here: https://www.dmtf.org/standards/smbios