Page MenuHomeFreeBSD
Feed All Stories

Jun 21 2018

yanko.yankulov_gmail.com updated the diff for D15857: fork: avoid endless wait with PTRACE_FORK and RFSTOPPED.

Style & comments

Jun 21 2018, 4:54 PM
alc accepted D15911: Re-count available PV entries after allocating a new chunk..
Jun 21 2018, 4:52 PM
cem added a comment to D15952: Fix the Linux kernel version number calculation.

I don't think there's any real reason to diverge from how Linux computes its own version numbers, just to be "more native" FreeBSD. I don't know if these numbers are exposed in any userspace interface, but if they are obviously they need to match Linux, not our own made-up scheme.

Jun 21 2018, 4:44 PM
markj added a comment to D15911: Re-count available PV entries after allocating a new chunk..

I note that arm64 has this bug as well. I'll fix that identically if the current diff is ok.

Jun 21 2018, 4:44 PM
alc added a comment to D15910: Avoid reclaiming the PV entry for a VA when updating the VA's PTE..
In D15910#337582, @alc wrote:

I have two comments.

  1. The change to reserve_pv_entries() is unnecessary. That function is only called during demotion. At that point, the only PV entry will be for the superpage mapping, and reclaim_pv_chunk() already skips superpage mappings.

Indeed, I noted this in the review description. The comment above reclaim_pv_chunk() suggests that it skips superpage mappings only to avoid worsening an ongoing PV entry shortage, but in fact this is required for correctness of the code. To me it seemed fragile to leave reserve_pv_entries() as it was since the handling of reclaim_pv_chunk() wrt superpage mappings might change in the future (e.g., by searching for and reclaiming all 4KB page mappings when a superpage mapping is discovered) and introduce this subtle bug.

Jun 21 2018, 4:43 PM
tcberner added a comment to D15874: [NEW PORT] textproc/py-sphinxcontrib-newsfeed: News Feed extension for Sphinx..

do you need a committer? :)

Jun 21 2018, 4:43 PM
markj updated the diff for D15911: Re-count available PV entries after allocating a new chunk..
  • Only recount after a reclaim.
Jun 21 2018, 4:43 PM
tcberner added a comment to D15903: pyqt: add quickwidgets port.

Could you update the diff using arc-diff?

Jun 21 2018, 4:42 PM
tcberner added inline comments to D15903: pyqt: add quickwidgets port.
Jun 21 2018, 4:41 PM
bdrewery committed rS335494: Minor comment fix d_namelen -> d_namlen.
Minor comment fix d_namelen -> d_namlen
Jun 21 2018, 4:40 PM
tcberner accepted D15882: net/subnetcalc: update to 2.4.9.
Jun 21 2018, 4:39 PM
bdrewery committed rS335493: ino64 uses 8 byte padding now..
ino64 uses 8 byte padding now.
Jun 21 2018, 4:39 PM
chuck added a comment to D15952: Fix the Linux kernel version number calculation.
In D15952#337588, @cem wrote:

Why not leave the macro alone and compute v using it instead?

v = LINUX_KERNVER(v0, v1, v2);

(As I noted in the bug, the macro matches the way Linux defines kernel version numbers for a given major, minor, and patch, so it makes the most sense to leave it that way.)

Jun 21 2018, 4:34 PM
alc added a comment to D15911: Re-count available PV entries after allocating a new chunk..
In D15911#336915, @kib wrote:
In D15911#336659, @kib wrote:

This should be fine.

Can we return an indicator if the page freed from the locked pmap, and retry only in this case ?

We can. I implemented it this way originally, but found it a bit ugly, and strictly speaking we only need to retry if the chunk was freed from the locked pmap *and* it contained free entries. That is, even with your suggestion we may still retry when it is not necessary. If you prefer that approach I'll implement it instead, but I mildly prefer this patch because it's simpler than the alternative.

Sure I do not object against adding the additional check for the chunk to contain a free entry, and it is cheap. My motivation for the suggestion is that we should not penalize the situation when get_pv_entry() failed to allocate a page, too much.

But I do not object to the patch in its current form.

Jun 21 2018, 4:26 PM
cem requested changes to D15952: Fix the Linux kernel version number calculation.

Why not leave the macro alone and compute v using it instead?

Jun 21 2018, 4:23 PM
yuri committed rP472982: net-p2p/qbittorrent: Limit USE_QT5=svg to @default flavor.
net-p2p/qbittorrent: Limit USE_QT5=svg to @default flavor
Jun 21 2018, 4:23 PM
markj added a comment to D15910: Avoid reclaiming the PV entry for a VA when updating the VA's PTE..
In D15910#337582, @alc wrote:

I have two comments.

  1. The change to reserve_pv_entries() is unnecessary. That function is only called during demotion. At that point, the only PV entry will be for the superpage mapping, and reclaim_pv_chunk() already skips superpage mappings.
Jun 21 2018, 4:21 PM
ed committed rS335492: MFC r335314:.
MFC r335314:
Jun 21 2018, 4:12 PM
andrew added inline comments to D15929: Add quirk mechanism to pci_host_generic_acpi.
Jun 21 2018, 4:10 PM
alc added a comment to D15910: Avoid reclaiming the PV entry for a VA when updating the VA's PTE..

I have two comments.

Jun 21 2018, 4:06 PM
sbruno added a comment to D14279: fixed amd type flash write opration and diaplay chip infomation at boot.

I will compile commit this review.

Jun 21 2018, 4:04 PM
sbruno accepted D14279: fixed amd type flash write opration and diaplay chip infomation at boot.
Jun 21 2018, 4:03 PM
aniketp updated the diff for D15898: Add tests for miscellaneous administrative system calls.

Update the test case for acct_success

Jun 21 2018, 4:01 PM
jhibbits committed rS335491: Fix the build post-PMCR addition..
Fix the build post-PMCR addition.
Jun 21 2018, 3:59 PM
royger closed D15899: Xen: Added missing check for free callbacks in gnttab_end_foreign_access_references().

Committed as r335490.

Jun 21 2018, 3:48 PM
royger committed rS335490: xen: check if there are clients waiting in gnttab_end_foreign_access_references.
xen: check if there are clients waiting in gnttab_end_foreign_access_references
Jun 21 2018, 3:47 PM
mfechner committed rP472981: Update www/gitlab to 10.8.4..
Update www/gitlab to 10.8.4.
Jun 21 2018, 3:45 PM
mfechner closed D15950: Update www/gitlab to 10.8.4.
Jun 21 2018, 3:45 PM
mfechner committed rP472980: Update www/rubygem-gitlab-gollum-lib to 4.2.7.5 required for gitlab 10.8.x..
Update www/rubygem-gitlab-gollum-lib to 4.2.7.5 required for gitlab 10.8.x.
Jun 21 2018, 3:40 PM
mfechner closed D15951: Update www/rubygem-gitlab-gollum-lib to 4.2.7.5 required for gitlab 10.8.x..
Jun 21 2018, 3:40 PM
kevans created D15953: Kernel environments: use any and all provided environments, evict hintmode and envmode.
Jun 21 2018, 3:38 PM
mfechner closed D15949: Update www/gitlab-workhorse to 4.2.0 required for gitlab 10.8.x..
Jun 21 2018, 3:37 PM
mfechner committed rP472979: Update www/gitlab-workhorse to 4.2.0 required for gitlab 10.8.x..
Update www/gitlab-workhorse to 4.2.0 required for gitlab 10.8.x.
Jun 21 2018, 3:37 PM
mfechner committed rP472978: Update devel/rubygem-prometheus-client-mmap to 0.9.3 required for gitlab 10.8.x..
Update devel/rubygem-prometheus-client-mmap to 0.9.3 required for gitlab 10.8.x.
Jun 21 2018, 3:35 PM
mfechner closed D15948: Update devel/rubygem-prometheus-client-mmap to 0.9.3 required for gitlab 10.8.x.
Jun 21 2018, 3:35 PM
mfechner committed rP472977: Update gitaly to 0.100.0 required for gitlab 10.8..
Update gitaly to 0.100.0 required for gitlab 10.8.
Jun 21 2018, 3:32 PM
mfechner closed D15947: Update gitaly to 0.100.0 required for gitlab 10.8.
Jun 21 2018, 3:32 PM
mfechner committed rP472976: New ports required for gitlab 10.8.x..
New ports required for gitlab 10.8.x.
Jun 21 2018, 3:29 PM
mfechner closed D15945: New ports required for gitlab 10.8.
Jun 21 2018, 3:29 PM
ian committed rS335489: Add some words clarifying that rename(2) does nothing when the 'from' and.
Add some words clarifying that rename(2) does nothing when the 'from' and
Jun 21 2018, 3:21 PM
dteske committed rS335488: MFC r335306: bsdconfig: Make examples optional.
MFC r335306: bsdconfig: Make examples optional
Jun 21 2018, 3:11 PM
swills accepted D15950: Update www/gitlab to 10.8.4.

Approved

Jun 21 2018, 3:05 PM
swills accepted D15945: New ports required for gitlab 10.8.

Approved

Jun 21 2018, 3:05 PM
swills accepted D15951: Update www/rubygem-gitlab-gollum-lib to 4.2.7.5 required for gitlab 10.8.x..

I had been trying to keep all patches to gemspec files named simply "patch-gemspec" so that they were easier to find when updating gem, because that sometimes requires updating all the gemspec patches. So I think that's why this file was named the way it was. Would be nice to keep that, but not a huge issue, it does cause portlint warnings.

Jun 21 2018, 3:04 PM
dteske committed rS335487: MFC r335308: bsdconfig: Fix a bug when editing users.
MFC r335308: bsdconfig: Fix a bug when editing users
Jun 21 2018, 3:02 PM
swills accepted D15949: Update www/gitlab-workhorse to 4.2.0 required for gitlab 10.8.x..

Approved

Jun 21 2018, 3:01 PM
mfechner updated the diff for D15951: Update www/rubygem-gitlab-gollum-lib to 4.2.7.5 required for gitlab 10.8.x..

Move NO_ARCH down and included full diff.

Jun 21 2018, 3:01 PM
swills accepted D15947: Update gitaly to 0.100.0 required for gitlab 10.8.

Approved

Jun 21 2018, 3:01 PM
chuck updated the diff for D15858: Fix output of linprocfs stat entry.

[v3] Fix output of linprocfs stat

Jun 21 2018, 3:00 PM
ian committed rS335486: Add a note about using option VERBOSE_SYSINIT=0 to get the verbose code.
Add a note about using option VERBOSE_SYSINIT=0 to get the verbose code
Jun 21 2018, 2:59 PM
mfechner updated the diff for D15950: Update www/gitlab to 10.8.4.

Updated diff to full diff.

Jun 21 2018, 2:59 PM
swills accepted D15948: Update devel/rubygem-prometheus-client-mmap to 0.9.3 required for gitlab 10.8.x.

Approved

Jun 21 2018, 2:59 PM
mfechner retitled D15950: Update www/gitlab to 10.8.4 from Update www/gitlib to 10.8.4 to Update www/gitlab to 10.8.4.
Jun 21 2018, 2:58 PM
mfechner updated the diff for D15949: Update www/gitlab-workhorse to 4.2.0 required for gitlab 10.8.x..

Updated diff.

Jun 21 2018, 2:57 PM
mat committed rP472975: Fix build..
Fix build.
Jun 21 2018, 2:57 PM
dteske committed rS335485: MFC r335308: bsdconfig: Fix a bug when editing users.
MFC r335308: bsdconfig: Fix a bug when editing users
Jun 21 2018, 2:55 PM
chuck added a comment to D15858: Fix output of linprocfs stat entry.

Added PR 229209 to track the osrelease issue and posted a proposed fix in https://reviews.freebsd.org/D15952

Jun 21 2018, 2:55 PM
emaste added a comment to D15858: Fix output of linprocfs stat entry.

See linux_map_osrel

This probably fits better with the existing code, and I'm inclined to move that direction. Is using linux_kernver() the way to access this value?

Jun 21 2018, 2:53 PM
mat added inline comments to D15951: Update www/rubygem-gitlab-gollum-lib to 4.2.7.5 required for gitlab 10.8.x..
Jun 21 2018, 2:50 PM
ian added inline comments to D15031: bcm2835_spi.c mod to support mode and clock in ivars from spibus.
Jun 21 2018, 2:48 PM
chuck created D15952: Fix the Linux kernel version number calculation.
Jun 21 2018, 2:47 PM
mat added a comment to D15950: Update www/gitlab to 10.8.4.

Could you use devel/arcanist, or at least generate a diff with full context like it does, with svn diff -x -U9999 or git diff -U9999.

Jun 21 2018, 2:47 PM
asomers requested changes to D15898: Add tests for miscellaneous administrative system calls.
Jun 21 2018, 2:47 PM
mat added a comment to D15949: Update www/gitlab-workhorse to 4.2.0 required for gitlab 10.8.x..

Could you use devel/arcanist, or at least generate a diff with full context like it does, with svn diff -x -U9999 or git diff -U9999.

Jun 21 2018, 2:46 PM
dteske committed rS335484: MFC r335280-r335281, r335302: sysrc.subr updates.
MFC r335280-r335281, r335302: sysrc.subr updates
Jun 21 2018, 2:42 PM
jhibbits committed rS335483: Add the rest of the files for r335481.
Add the rest of the files for r335481
Jun 21 2018, 2:30 PM
kib added inline comments to D15857: fork: avoid endless wait with PTRACE_FORK and RFSTOPPED.
Jun 21 2018, 2:28 PM
emaste committed rS335482: Rename usr.bin/elfcopy to usr.bin/objcopy.
Rename usr.bin/elfcopy to usr.bin/objcopy
Jun 21 2018, 2:28 PM
jhibbits committed rS335481: Introduce PMCR-based cpufreq(4) driver, for IBM POWER8 and POWER9 systems.
Introduce PMCR-based cpufreq(4) driver, for IBM POWER8 and POWER9 systems
Jun 21 2018, 2:26 PM
jhibbits closed D15932: Introduce PMCR-based cpufreq(4) driver, for IBM POWER9 systems.
Jun 21 2018, 2:26 PM
mfechner updated the diff for D15945: New ports required for gitlab 10.8.

Moved NO_ARCH and updated diff.

Jun 21 2018, 2:22 PM
dteske committed rS335480: MFC r330886: Install files added in SVN's r295373, r295457, r295542.
MFC r330886: Install files added in SVN's r295373, r295457, r295542
Jun 21 2018, 2:21 PM
mfechner updated the diff for D15947: Update gitaly to 0.100.0 required for gitlab 10.8.

Updated diff as asked.

Jun 21 2018, 2:13 PM
mfechner created D15951: Update www/rubygem-gitlab-gollum-lib to 4.2.7.5 required for gitlab 10.8.x..
Jun 21 2018, 2:09 PM
br updated the diff for D15925: Update config.guess, config.sub.

add context

Jun 21 2018, 2:09 PM
mfechner created D15950: Update www/gitlab to 10.8.4.
Jun 21 2018, 2:07 PM
mfechner created D15949: Update www/gitlab-workhorse to 4.2.0 required for gitlab 10.8.x..
Jun 21 2018, 2:05 PM
mat added a comment to D15947: Update gitaly to 0.100.0 required for gitlab 10.8.

Could you use devel/arcanist, or at least generate a diff with full context like it does, with svn diff -x -U9999 or git diff -U9999.

Jun 21 2018, 2:05 PM
mat added a comment to D15945: New ports required for gitlab 10.8.

All the NO_ARCH lines should go wondown a bit.

Jun 21 2018, 2:04 PM
kevans committed rS335479: subr_hints: simplify a little bit.
subr_hints: simplify a little bit
Jun 21 2018, 2:04 PM
kevans closed D15940: subr_hints: simplify a little bit.
Jun 21 2018, 2:04 PM
mfechner created D15948: Update devel/rubygem-prometheus-client-mmap to 0.9.3 required for gitlab 10.8.x.
Jun 21 2018, 2:03 PM
ian added inline comments to D15301: alter spigen device name to indicate cs as sub-unit.
Jun 21 2018, 2:03 PM
allanjude accepted D15944: Mention different type of installation images.
Jun 21 2018, 2:01 PM
mfechner created D15947: Update gitaly to 0.100.0 required for gitlab 10.8.
Jun 21 2018, 2:00 PM
mat created D15946: Fix a few Perl ports with Perl 5.28..
Jun 21 2018, 1:53 PM
jhibbits abandoned D15835: Set the console sc if it's not already set..

This approach is wrong. The problem I was trying to solve is the interrupt handler accessing a bad sc. The proper fix will be to instead make the interrupt handler use a sc, instead of a consdev, and move more state data into the sc.

Jun 21 2018, 1:53 PM
wg committed rP472974: dns/inadyn-mt: update to 02.28.10.
dns/inadyn-mt: update to 02.28.10
Jun 21 2018, 1:50 PM
mfechner created D15945: New ports required for gitlab 10.8.
Jun 21 2018, 1:49 PM
jhibbits added inline comments to D15932: Introduce PMCR-based cpufreq(4) driver, for IBM POWER9 systems.
Jun 21 2018, 1:41 PM
yanko.yankulov_gmail.com added inline comments to D15857: fork: avoid endless wait with PTRACE_FORK and RFSTOPPED.
Jun 21 2018, 1:30 PM
sbruno accepted D15804: Keep --forward when using PATCH_DEBUG..
Jun 21 2018, 1:24 PM
pho committed rS335478: Block and inode count is int64_t in struct statfs..
Block and inode count is int64_t in struct statfs.
Jun 21 2018, 1:15 PM
yamori813_yahoo.co.jp added a reviewer for D15943: new driver: dev/rt2860: driver for RT2860 wifi: sbruno.
Jun 21 2018, 1:15 PM
trasz added a reviewer for D15944: Mention different type of installation images: Doc Committers.
Jun 21 2018, 1:06 PM
trasz created D15944: Mention different type of installation images.
Jun 21 2018, 1:06 PM
kib added inline comments to D15857: fork: avoid endless wait with PTRACE_FORK and RFSTOPPED.
Jun 21 2018, 1:01 PM
pi committed rP472973: New port: devel/libsml.
New port: devel/libsml
Jun 21 2018, 12:54 PM
db committed rP472972: Inadvertantly forgot to delete patch-boost-1.67 no longer needed.
Inadvertantly forgot to delete patch-boost-1.67 no longer needed
Jun 21 2018, 12:44 PM
zi committed rP472971: - Fix alternate user support.
- Fix alternate user support
Jun 21 2018, 12:39 PM