Page MenuHomeFreeBSD
Feed All Stories

Nov 27 2019

pfg committed rP518485: science/tfel: Update to version 3.2.1.
science/tfel: Update to version 3.2.1
Nov 27 2019, 12:54 AM
ae accepted D22557: Add ESP dummy frames support.
Nov 27 2019, 12:45 AM
jeff committed rS355122: Use atomics in more cases for object references. We now can completely.
Use atomics in more cases for object references. We now can completely
Nov 27 2019, 12:39 AM
jeff closed D22452: Handle most object reference count updates without object locks..
Nov 27 2019, 12:39 AM
skibo updated the diff for D14698: [new driver] zilinx/zy7_qspi: Add a qspi driver for Zynq platforms..

I had the incorrect clock value for Zybo. It uses a 200 Mhz reference clock just like the Zedboard. So put default reference clock value and spi clock value into zynq-7000.dtsi

Nov 27 2019, 12:01 AM · ARM

Nov 26 2019

jeff retitled D22564: Remove the relatively unused us_keg field. Store the zone along withthe slab in the page for malloc. from Remove the relatively unused us_keg field. Store the zone along with the slab in the page for malloc. to Remove the relatively unused us_keg field. Store the zone along withthe slab in the page for malloc..
Nov 26 2019, 10:26 PM
jeff retitled D22563: Handle large mallocs by going directly to kmem without taking a detour through uma zones. from Handle large mallocs by going directly to kmem without taking a detour through uma zones. to Handle large mallocs by going directly to kmem without taking a detourthrough uma zones..
Nov 26 2019, 10:25 PM
jeff created D22564: Remove the relatively unused us_keg field. Store the zone along withthe slab in the page for malloc..
Nov 26 2019, 10:22 PM
jeff created D22563: Handle large mallocs by going directly to kmem without taking a detour through uma zones..
Nov 26 2019, 10:22 PM
jeff closed D22470: Partial refactoring of uma_zalloc_arg()..
Nov 26 2019, 10:17 PM
jeff committed rS355121: Refactor uma_zalloc_arg(). It is a mess of gotos and code which doesn't.
Refactor uma_zalloc_arg(). It is a mess of gotos and code which doesn't
Nov 26 2019, 10:17 PM
yuri committed rP518484: New port: misc/mmdnn: Tools to inter-operate among different deep learning….
New port: misc/mmdnn: Tools to inter-operate among different deep learning…
Nov 26 2019, 10:11 PM
kbowling created D22562: news/tin: update to 2.4.3.
Nov 26 2019, 10:06 PM
imp accepted D15955: Discover cards on boot.

Other than printing a warning here to help debugging should the alloc fail, I think this is good.

Nov 26 2019, 10:04 PM
dim committed rS355120: The fdlibm hypot() implementations shouldn't potentially left-shift.
The fdlibm hypot() implementations shouldn't potentially left-shift
Nov 26 2019, 10:01 PM
dim closed D22354: The fdlibm hypot() implementations shouldn't potentially left-shift negative numbers (invoking undefined behavior).
Nov 26 2019, 10:01 PM
thierry committed rP518483: Upgrade to 2.7.3..
Upgrade to 2.7.3.
Nov 26 2019, 9:53 PM
svnmir committed rP518482: Clean up after java/openjdk6 and java/openjdk6-jre removal.
Clean up after java/openjdk6 and java/openjdk6-jre removal
Nov 26 2019, 9:46 PM
svnmir closed D22342: Clean up after java/openjdk6 removal.
Nov 26 2019, 9:46 PM · Ports Committers
kbowling committed rP518481: news/tin: take maintainer.
news/tin: take maintainer
Nov 26 2019, 9:45 PM
kbowling closed D22555: news/tin: take maintainer.
Nov 26 2019, 9:45 PM
manu accepted D15955: Discover cards on boot.
Nov 26 2019, 9:39 PM
donner added inline comments to D22447: Implement NDP resource limits..
Nov 26 2019, 9:22 PM
kibab updated the test plan for D15955: Discover cards on boot.
Nov 26 2019, 9:21 PM
kibab updated the diff for D15955: Discover cards on boot.
Nov 26 2019, 9:09 PM
jeff added inline comments to D20722: uma: trash memory when ctor/dtor supplied too.
Nov 26 2019, 8:57 PM
rlibby added inline comments to D20722: uma: trash memory when ctor/dtor supplied too.
Nov 26 2019, 8:54 PM
jeff updated the diff for D22491: Refactor uma_zfree_arg().

Review feedback. Pull another function out, zone_free_bucket().

Nov 26 2019, 8:49 PM
jeff updated the diff for D22470: Partial refactoring of uma_zalloc_arg()..

Review feedback. Cosmetic code adjustments.

Nov 26 2019, 8:49 PM
emaste committed rS355119: stop building arm LINT-V5 kernel.
stop building arm LINT-V5 kernel
Nov 26 2019, 8:46 PM
emaste closed D22560: stop building arm LINT-V5 kernel.
Nov 26 2019, 8:46 PM
imp accepted D22560: stop building arm LINT-V5 kernel.
Nov 26 2019, 8:42 PM
jbeich updated the diff for D22136: devel/boost-*: update to 1.72.0.
  • New snapshot
Nov 26 2019, 8:25 PM
rstone added inline comments to D22198: nd6: Reject routers on a prefix about to be freed.
Nov 26 2019, 8:22 PM
rstone added a comment to D22198: nd6: Reject routers on a prefix about to be freed.

Do you happen to have a test case for this? We don't have any ND6 regression tests at the moment. :(

Nov 26 2019, 8:21 PM
kib added a comment to D22546: Ease the life of PT_TO_SCE/PT_TO_SCX users when debuggee sleeps in sigsuspend(2)/sig{timed,}wait(2)..
In D22546#493292, @kib wrote:

Also, I believe it is consistent with behavior of other sleeping syscalls like select(2), where the situation causes spurious EINTR.

I agree it is more consistent than before, but from my reading:

  • it does not result in EINTR for a mere ptrace attach, and

For PT_ATTACH it is not needed, I believe. There a SIGSTOP is generated and we would do all the magic inside ptracestop().

Nov 26 2019, 8:14 PM
carlavilla updated the diff for D22511: Add Host Color to the commercial ISP page.

Fixed!

Nov 26 2019, 8:02 PM
theron.tarigo_gmail.com added a comment to D22521: new ports: Nvidia headless/hybrid graphics ("Optimus" support).

I let it get lost in switch from 390.x to 440.x patches.
I thought that getting the updated nvidia-headless-driver port to work with the 3xx versions would be more involved because of changed structure, but I just tried it and it works. Thanks!

Nov 26 2019, 8:01 PM
theron.tarigo_gmail.com updated the diff for D22521: new ports: Nvidia headless/hybrid graphics ("Optimus" support).

Fix nvidia-driver pkg-plist. Create nvidia-headless-driver-390 (supports oldest generation of Nvidia GPUs used in hybrid graphics configuration).

Nov 26 2019, 7:59 PM
diizzy updated the diff for D22538: Add PINE64 ROCKPro64 config for generation of release images.

Switch to FAT16 and reduce FAT parition size

Nov 26 2019, 7:58 PM
diizzy updated the diff for D22537: Add support for generating release images using GPT for ARM.

Switch to using GPT everywhere instead of using BSD slices

Nov 26 2019, 7:54 PM
tcberner committed rP518480: misc/tellico: udpate to 3.2.3.
misc/tellico: udpate to 3.2.3
Nov 26 2019, 7:42 PM
jeff accepted D20722: uma: trash memory when ctor/dtor supplied too.
Nov 26 2019, 7:39 PM
dch created D22561: graphics/gource: update to 0.51 - fix a bug that breaks gwatch-gource - https://github.com/acaudwell/Gource/commit/a3e7269.
Nov 26 2019, 7:39 PM
jgh committed rP518479: - update to 0.7.
- update to 0.7
Nov 26 2019, 7:37 PM
mav accepted D22559: bus_dma_dmar_load_ident((): load identity mapping into the map.

With this patch and respective call (https://people.freebsd.org/~mav/ntb_hw_intel_dmar.patch) Intel NTB on Xeon v4 happily works with DMAR enabled. Thanks!

Nov 26 2019, 7:36 PM
jeff added a comment to D22554: Add a sysctl tree for UMA..

Sysctl will allow us to make changes at runtime. For example limits. It is quicker to modify and doesn't create ABI issues. I view this as more of a debugging tool and vmstat as more for system administrators.

Nov 26 2019, 7:26 PM
scottl committed rS355118: Partially revert r355028. hpt27xx is not Giant-locked in FreeBSD 12.x,.
Partially revert r355028. hpt27xx is not Giant-locked in FreeBSD 12.x,
Nov 26 2019, 7:04 PM
lifanov committed rP518478: update games/tome4 to 1.6.3.
update games/tome4 to 1.6.3
Nov 26 2019, 6:53 PM
bland committed rP518477: Fetch files from gitlab.freedesktop.org.
Fetch files from gitlab.freedesktop.org
Nov 26 2019, 6:52 PM
emaste created D22560: stop building arm LINT-V5 kernel.
Nov 26 2019, 6:48 PM
markj added a comment to D22546: Ease the life of PT_TO_SCE/PT_TO_SCX users when debuggee sleeps in sigsuspend(2)/sig{timed,}wait(2)..
In D22546#493292, @kib wrote:

Also, I believe it is consistent with behavior of other sleeping syscalls like select(2), where the situation causes spurious EINTR.

Nov 26 2019, 6:44 PM
kai committed rP518476: net/py-urllib3: Update to 1.25.6.
net/py-urllib3: Update to 1.25.6
Nov 26 2019, 6:38 PM
kevans added a comment to D22546: Ease the life of PT_TO_SCE/PT_TO_SCX users when debuggee sleeps in sigsuspend(2)/sig{timed,}wait(2)..
In D22546#493292, @kib wrote:

I think it's because kern_sigsuspend() and kern_sigtimedwait() call cursig() and thus may block in ptracestop() before returning to the usermode boundary.

So to be clear, the problem is that a debugger is expecting to see a system call entry following a PT_CONTINUE following the attach?

This is not quite a problem, but rather the inconvenience. In this situation debugger needs to understand that the process is waiting for a signal in a syscall that does not return until the signal is generated, and do something. It is quite involved for the debugger to infer this data, and much simpler for the kernel to fabricate a spurious EINTR instead.

Also, I believe it is consistent with behavior of other sleeping syscalls like select(2), where the situation causes spurious EINTR.

Nov 26 2019, 6:21 PM
vmaffione committed rS355117: MFC r354659.
MFC r354659
Nov 26 2019, 6:12 PM
vmaffione committed rS355116: MFC r354552, r354864.
MFC r354552, r354864
Nov 26 2019, 6:11 PM
mmel committed rS355115: Finish implementation of RK3299 clocks..
Finish implementation of RK3299 clocks.
Nov 26 2019, 5:56 PM
mmel closed D22441: Finish implementation of RK3299 clocks. .
Nov 26 2019, 5:56 PM
kib added a comment to D22559: bus_dma_dmar_load_ident((): load identity mapping into the map.

Not tested. There will be a trivial conflict in bus_dma.h, I will resolve it later.

Nov 26 2019, 5:52 PM
kib created D22559: bus_dma_dmar_load_ident((): load identity mapping into the map.
Nov 26 2019, 5:51 PM
kib updated the diff for D22546: Ease the life of PT_TO_SCE/PT_TO_SCX users when debuggee sleeps in sigsuspend(2)/sig{timed,}wait(2)..

Only inject EINTR in sigtimedwait() when error == 0.

Nov 26 2019, 5:49 PM
dougm updated the diff for D22544: Use macros to search vm_map.

Replace the macros with __always_inline functions, which preserves, and perhaps slightly enhances the performance benefit.

Nov 26 2019, 5:49 PM
emaste committed rD53641: FAQ: update branch count and names.
FAQ: update branch count and names
Nov 26 2019, 5:47 PM
joneum committed rP518475: MFH: r518474.
MFH: r518474
Nov 26 2019, 5:45 PM
kib added a comment to D22546: Ease the life of PT_TO_SCE/PT_TO_SCX users when debuggee sleeps in sigsuspend(2)/sig{timed,}wait(2)..

I think it's because kern_sigsuspend() and kern_sigtimedwait() call cursig() and thus may block in ptracestop() before returning to the usermode boundary.

So to be clear, the problem is that a debugger is expecting to see a system call entry following a PT_CONTINUE following the attach?

Nov 26 2019, 5:43 PM
joneum committed rP518474: Update to 2.13.0.
Update to 2.13.0
Nov 26 2019, 5:43 PM
markj added a comment to D22546: Ease the life of PT_TO_SCE/PT_TO_SCX users when debuggee sleeps in sigsuspend(2)/sig{timed,}wait(2)..

I think this looks good to me, thanks! It does behave differently now in that truss(1) will cause us to exit these syscalls if it attaches in the middle -- but every application I can think of using them will swiftly return to sigsuspend() state once it realizes nothing productive happened.

Sorry, I am confused. truss(1) attach should generate a SIGSTOP that interrupts the system call anyway.

The SIGSTOP interrupts, then zsh returns to sigsuspend(2) following that. The application then goes to trace syscall entry and we're stuck in sigsuspend(2) at that point.

Why do we interrupt only these two distinguished system calls?

There are perhaps others, but sigsuspend was the first candidate because it's the most problematic one and sigwait/sigtimedwait are a natural extension to this.

Nov 26 2019, 5:39 PM
emaste committed rD53640: glossary: modernize examples of well-known CPU architectures.
glossary: modernize examples of well-known CPU architectures
Nov 26 2019, 5:38 PM
theron.tarigo_gmail.com added a comment to D22521: new ports: Nvidia headless/hybrid graphics ("Optimus" support).

For the pkg-plist of x11/nvidia-driver, there should be this:

So that nvidia-driver-headless could build (package phase) with legacy driver : 390, 340, 304 .

You're absolutely right. I let it get lost in switch from 390.x to 440.x patches.

Nov 26 2019, 5:37 PM
salvadore updated the summary of D22558: Update Quarterly Status Report README.
Nov 26 2019, 5:33 PM
salvadore created D22558: Update Quarterly Status Report README.
Nov 26 2019, 5:32 PM
theron.tarigo_gmail.com updated the diff for D22521: new ports: Nvidia headless/hybrid graphics ("Optimus" support).

Use %%EXTENSIONSDIR%%/libglx.so in nvidia-driver/pkg-plist

Nov 26 2019, 5:27 PM
scottl committed rS355114: Revert r355021. In my haste to grep for Giant, I missed that it was in.
Revert r355021. In my haste to grep for Giant, I missed that it was in
Nov 26 2019, 5:26 PM
manu accepted D22441: Finish implementation of RK3299 clocks. .
Nov 26 2019, 5:17 PM
mmel updated the diff for D22441: Finish implementation of RK3299 clocks. .

Move common macros to rk_cru.h

Nov 26 2019, 5:10 PM
markj added a comment to D22544: Use macros to search vm_map.

Do you get similar results by using C functions with the __always_inline attribute instead of macros?

Nov 26 2019, 5:08 PM
jbeich committed rP518473: graphics/yacreader: add new port.
graphics/yacreader: add new port
Nov 26 2019, 4:36 PM
danfe committed rP518472: Update to version 1.3.31..
Update to version 1.3.31.
Nov 26 2019, 4:34 PM
joneum committed rP518471: When nginx compiled with third-party spnego module, a worker process.
When nginx compiled with third-party spnego module, a worker process
Nov 26 2019, 4:32 PM
jwb committed rP518470: biology/py-multiqc: Upgrade to 1.8.
biology/py-multiqc: Upgrade to 1.8
Nov 26 2019, 4:25 PM
kevans added a comment to D22546: Ease the life of PT_TO_SCE/PT_TO_SCX users when debuggee sleeps in sigsuspend(2)/sig{timed,}wait(2)..

I think this looks good to me, thanks! It does behave differently now in that truss(1) will cause us to exit these syscalls if it attaches in the middle -- but every application I can think of using them will swiftly return to sigsuspend() state once it realizes nothing productive happened.

Sorry, I am confused. truss(1) attach should generate a SIGSTOP that interrupts the system call anyway.

Nov 26 2019, 4:22 PM
jwb committed rP518469: biology/p5-TrimGalore: Upgrade to 0.6.5.
biology/p5-TrimGalore: Upgrade to 0.6.5
Nov 26 2019, 4:20 PM
markj added a comment to D22546: Ease the life of PT_TO_SCE/PT_TO_SCX users when debuggee sleeps in sigsuspend(2)/sig{timed,}wait(2)..

I think this looks good to me, thanks! It does behave differently now in that truss(1) will cause us to exit these syscalls if it attaches in the middle -- but every application I can think of using them will swiftly return to sigsuspend() state once it realizes nothing productive happened.

Nov 26 2019, 4:18 PM
alfredo updated the diff for D22549: [PowerPC] enable atomic.c in compiler_rt and do not check and forces lock/lock_free decisions in compiled time.

Updated with comments, added a compiler check to make it "commitable" before flagday and retested

Nov 26 2019, 4:11 PM · PowerPC
aurelien.cazuc.external_stormshield.eu updated the diff for D22557: Add ESP dummy frames support.

Remarks from ae

Nov 26 2019, 3:59 PM
markj accepted D22527: witness: sleepable rm locks are not sleepable in read mode.

As far as I know the only reason to disallow sleeping readers is that rmlock trackers typically live on the stack, and the stacks of sleeping threads may be swapped out. That seems like a fairly dubious reason in this day and age - do you know of any other reasons?

As in, is it accidental or fundamental that sleepable rm locks are not sleepable in read mode? I don't know.

I'm not sure if stack swapping is the only potential problem. I see the implementation referencing turnstiles... I think that implies a deeper interaction with non-sleepability. To be honest I don't know either turnstiles or the rm lock implementation that well.

Nov 26 2019, 3:57 PM
mav committed rS355113: Add some IDs of Intel Wildcat Point-LP..
Add some IDs of Intel Wildcat Point-LP.
Nov 26 2019, 3:52 PM
ae added inline comments to D22557: Add ESP dummy frames support.
Nov 26 2019, 3:51 PM
mav committed rS355112: MFC r354841: Add ioat_get_domain() to ioat(4) KPI..
MFC r354841: Add ioat_get_domain() to ioat(4) KPI.
Nov 26 2019, 3:24 PM
mav committed rS355111: MFC r354841: Add ioat_get_domain() to ioat(4) KPI..
MFC r354841: Add ioat_get_domain() to ioat(4) KPI.
Nov 26 2019, 3:23 PM
mav committed rS355110: MFC r354840: Call bus_dma_dmar_set_buswide(9) added in r354830..
MFC r354840: Call bus_dma_dmar_set_buswide(9) added in r354830.
Nov 26 2019, 3:21 PM
joneum committed rP518468: Update to 2.0.7.
Update to 2.0.7
Nov 26 2019, 3:17 PM
olgeni accepted D20450: databases/leofs: move to lang/erlang as dependency (OTP21) so we can deprecate lang/erlang-runtime20 which is not in support anymore.
Nov 26 2019, 3:01 PM
joneum committed rP518467: Update to 1.6.1.
Update to 1.6.1
Nov 26 2019, 2:55 PM
zi committed rP518466: - Update to 3.0.20.
- Update to 3.0.20
Nov 26 2019, 2:55 PM
swills accepted D22091: x11-drivers/xf86-video-amdgpu, x11-drivers/xf86-video-ati: update to release 19.1.0.

LGTM, I've been running this for a while and it seems to work well.

Nov 26 2019, 2:52 PM
danfe committed rP518465: - Update Gnuastro to version 0.11.
- Update Gnuastro to version 0.11
Nov 26 2019, 2:49 PM
emaste committed rS355109: Update Makefile.inc1 dtc comment.
Update Makefile.inc1 dtc comment
Nov 26 2019, 2:26 PM
trasz committed rD53639: Add 2019Q3 status report to the newsflash..
Add 2019Q3 status report to the newsflash.
Nov 26 2019, 1:53 PM
kib added a comment to D22554: Add a sysctl tree for UMA..

Does this essentially obsoletes vm.zone_stats ? Wouldn't it be better to extend that interface and vmstat -z ?

Nov 26 2019, 1:49 PM