Page MenuHomeFreeBSD

Active Repositories

Recent Activity

Today

kib updated the diff for D53891: Fixes for dreaded assert in jemalloc page allocator AKA mmap(MAP_ANON) providing non-zeroed pages.

In the checker, check that the pager does not contain pages.

Tue, Nov 25, 4:28 PM
kib added a comment to D53891: Fixes for dreaded assert in jemalloc page allocator AKA mmap(MAP_ANON) providing non-zeroed pages.
In D53891#1231400, @kib wrote:
In D53891#1231399, @alc wrote:

Can you elaborate on what you saw when debugging this problem? In particular, whether the map entries had OBJ_ONEMAPPING set? In principle, the ref_count and size shouldn't be a concern if the object has OBJ_ONEMAPPING set. For example, suppose there is an anonymous mapping (with OBJ_ONEMAPPING set) for the range [A, D). Further, suppose we punch a hole in the middle of that mapping, by calling munmap() on the range [B, C) where A < B < C < D. Now, we have two mappings, [A, B) and [C, D), that both reference the original object, and that object should still have OBJ_ONEMAPPING set. Because OBJ_ONEMAPPING is set, the munmap() should have freed any physical pages and swap space from the object that fell within the range [B, C). So, if a new anonymous mapping is created starting at either B or D, we should be able to safely coalesce it.

I did not have access to the object state there (all debugging was done remotely).

The situation you described is one of the cases that concerned me. I am not sure that we have a guarantee that doing the coalesce on the object with OBJ_ONEMAPPING flag but ref_count > 1 would not corrupt some other mapping. We need to do vm_object_page_remove(), and in principle that could remove pages which belong to other fragment.

I believe OBJ_ONEMAPPING means, "each page in the object is mapped at most once", so in the case you describe, OBJ_ONEMAPPING should not be set to begin with.

Tue, Nov 25, 4:28 PM
arrowd added a comment to D53464: Uses/dbus-testing.mk: Introduce new USES.

Now also required for ports-mgmt/packagekits tests.

Tue, Nov 25, 4:27 PM
arrowd committed R11:543998db3a66: ports-mgmt/packagekit: Fix package updating (authored by arrowd).
ports-mgmt/packagekit: Fix package updating
Tue, Nov 25, 4:26 PM
arrowd committed R11:8e4945b582a5: ports-mgmt/packagekit: Add testing support (authored by arrowd).
ports-mgmt/packagekit: Add testing support
Tue, Nov 25, 4:26 PM
imp committed rG301b8a806f79: nvme: Minor style(9) fixes (authored by imp).
nvme: Minor style(9) fixes
Tue, Nov 25, 4:18 PM
otis committed R11:46f557045891: net-mgmt/rubygem-oxidized-web: Fix startup (authored by Nick Hilliard <nick@foobar.org>).
net-mgmt/rubygem-oxidized-web: Fix startup
Tue, Nov 25, 4:11 PM
bapt added a comment to D53723: java/bootstrap-openjdk*: Mark these ports as bundling libraries..

None of the libraries listed as required here are bundled, so it has done the right thing and the bootstrap now do not provide lib anymore so it will never be proposed instead of a regular openjdk

Tue, Nov 25, 4:03 PM
olce added inline comments to D53899: arp: Reduce lifetime of ARP entries.
Tue, Nov 25, 3:58 PM
AMDmi3 committed R11:403d6daa0f62: devel/py-asttokens: update 3.0.0 → 3.0.1 (authored by AMDmi3).
devel/py-asttokens: update 3.0.0 → 3.0.1
Tue, Nov 25, 3:44 PM
bdrewery added a comment to D53723: java/bootstrap-openjdk*: Mark these ports as bundling libraries..
pkg_cleanup_shlibs_required(pkg, &internal_provided);

Seems it is supposed to just work, hm.

Tue, Nov 25, 3:41 PM
bdrewery added a comment to D53723: java/bootstrap-openjdk*: Mark these ports as bundling libraries..

@bapt I'm not sure this did what I expected.
It added the annotation but it still marked all of the libs as required.

# pkg info -F bootstrap-openjdk17-17.0.1.12.1_2.pkg
bootstrap-openjdk17-17.0.1.12.1_2
Name           : bootstrap-openjdk17
Version        : 17.0.1.12.1_2
Origin         : java/bootstrap-openjdk17
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : devel java
Licenses       : GPLv2
Maintainer     : java@FreeBSD.org
WWW            : https://openjdk.java.net/
Comment        : Java Development Kit 17
Shared Libs required:
        libX11.so.6
        libXext.so.6
        libXi.so.6
        libXrender.so.1
        libXtst.so.6
        libasound.so.2
        libc++.so.1
        libc.so.7
        libcxxrt.so.1
        libdl.so.1
        libfontconfig.so.1
        libfreetype.so.6
        libgcc_s.so.1
        libgif.so.7
        libharfbuzz.so.0
        libjpeg.so.8
        liblcms2.so.2
        libm.so.5
        libpng16.so.16
        libthr.so.3
        libutil.so.9
        libz.so.6
Annotations    :
        FreeBSD_version: 1400097
        build_timestamp: 2025-11-13T00:01:02+00:00
        built_by       : poudriere-git-3.3.0-2420-g3a7024568
        no_provide_shlib: yes
        port_checkout_unclean: no
        ports_top_checkout_unclean: yes
        ports_top_git_hash: a5581322a5c3da107f83705f91c9900b8c219ae3
Flat size      : 252MiB
Description    :
OpenJDK is an open-source implementation of the Java Platform, Standard Edition.
Tue, Nov 25, 3:40 PM
thj requested review of D53904: xhci: Move xhci_pci_match to a header so it can be used from loader.
Tue, Nov 25, 3:29 PM
kp committed rGbc3b72ff4895: pf: relax sctp v_tag verification (authored by kp).
pf: relax sctp v_tag verification
Tue, Nov 25, 3:05 PM
arrowd committed R11:17f60ae7411a: graphics/qimgv: Add quality of life improvements (authored by kenrap_kennethraplee.com).
graphics/qimgv: Add quality of life improvements
Tue, Nov 25, 3:03 PM
markj added a comment to D53891: Fixes for dreaded assert in jemalloc page allocator AKA mmap(MAP_ANON) providing non-zeroed pages.
In D53891#1231400, @kib wrote:
In D53891#1231399, @alc wrote:

Can you elaborate on what you saw when debugging this problem? In particular, whether the map entries had OBJ_ONEMAPPING set? In principle, the ref_count and size shouldn't be a concern if the object has OBJ_ONEMAPPING set. For example, suppose there is an anonymous mapping (with OBJ_ONEMAPPING set) for the range [A, D). Further, suppose we punch a hole in the middle of that mapping, by calling munmap() on the range [B, C) where A < B < C < D. Now, we have two mappings, [A, B) and [C, D), that both reference the original object, and that object should still have OBJ_ONEMAPPING set. Because OBJ_ONEMAPPING is set, the munmap() should have freed any physical pages and swap space from the object that fell within the range [B, C). So, if a new anonymous mapping is created starting at either B or D, we should be able to safely coalesce it.

I did not have access to the object state there (all debugging was done remotely).

The situation you described is one of the cases that concerned me. I am not sure that we have a guarantee that doing the coalesce on the object with OBJ_ONEMAPPING flag but ref_count > 1 would not corrupt some other mapping. We need to do vm_object_page_remove(), and in principle that could remove pages which belong to other fragment.

Tue, Nov 25, 2:56 PM
yuri committed R11:ff708a2a4cfd: sysutils/libdnf: update 0.73.4 → 0.75.0 (authored by yuri).
sysutils/libdnf: update 0.73.4 → 0.75.0
Tue, Nov 25, 2:46 PM
yuri committed R11:ad27224ba5c5: math/lmfit: update 9.0 → 10.0 (authored by yuri).
math/lmfit: update 9.0 → 10.0
Tue, Nov 25, 2:46 PM
yuri committed R11:be8a27657943: misc/lscolors: update 0.20.0 → 0.21.0 (authored by yuri).
misc/lscolors: update 0.20.0 → 0.21.0
Tue, Nov 25, 2:46 PM
yuri committed R11:f282afe659e9: net-p2p/aeron: update 1.49.1 → 1.49.2 (authored by yuri).
net-p2p/aeron: update 1.49.1 → 1.49.2
Tue, Nov 25, 2:45 PM
yuri committed R11:621d88d7d45d: databases/surrealdb: update 2.3.10 → 2.4.0 (authored by yuri).
databases/surrealdb: update 2.3.10 → 2.4.0
Tue, Nov 25, 2:45 PM
yuri committed R11:9ca498edefb1: math/lean4: update 4.25.1 → 4.25.2 (authored by yuri).
math/lean4: update 4.25.1 → 4.25.2
Tue, Nov 25, 2:45 PM
yuri committed R11:f7891f81ea03: sysutils/mise: update 2025.11.5 → 2025.11.7 (authored by yuri).
sysutils/mise: update 2025.11.5 → 2025.11.7
Tue, Nov 25, 2:45 PM
yuri committed R11:ab0fde4304fe: multimedia/lms: update 3.71.0 → 3.72.0 (authored by yuri).
multimedia/lms: update 3.71.0 → 3.72.0
Tue, Nov 25, 2:45 PM
yuri committed R11:a990fc4691e7: math/libformfactor: update 0.3.1 → 0.3.2 (authored by yuri).
math/libformfactor: update 0.3.1 → 0.3.2
Tue, Nov 25, 2:45 PM
yuri committed R11:d6cd01b8f383: devel/libheinz: update 2.0.0 → 3.0.0 (authored by yuri).
devel/libheinz: update 2.0.0 → 3.0.0
Tue, Nov 25, 2:45 PM
yuri committed R11:8ce64da5d527: misc/libcomps: update 0.1.21 → 0.1.23 (authored by yuri).
misc/libcomps: update 0.1.21 → 0.1.23
Tue, Nov 25, 2:45 PM
yuri committed R11:1ccb7f469010: audio/libinstpatch: update 1.1.6 → 1.1.7 (authored by yuri).
audio/libinstpatch: update 1.1.6 → 1.1.7
Tue, Nov 25, 2:45 PM
jbeich committed R11:9217f6696b34: multimedia/ab-av1: update to 0.10.2 (authored by jbeich).
multimedia/ab-av1: update to 0.10.2
Tue, Nov 25, 2:40 PM
jbeich committed R11:43000141c3d4: multimedia/ab-av1: update to 0.10.2 (authored by jbeich).
multimedia/ab-av1: update to 0.10.2
Tue, Nov 25, 2:40 PM
markj added inline comments to D53870: bpf: convert several boolean natured fields of bpf_d to flags.
Tue, Nov 25, 2:27 PM
gnn committed rGa8151f196c3c: Add description of the LD_DEBUG environment variable. (authored by gnn).
Add description of the LD_DEBUG environment variable.
Tue, Nov 25, 2:15 PM
tagattie committed R11:f691ec3acb79: x11/hyprls: Update to 0.11.0 (authored by tagattie).
x11/hyprls: Update to 0.11.0
Tue, Nov 25, 2:04 PM
markj committed rG23ddcd227ab7: kevent: Hold the knlist mutex when invoking f_event(NOTE_FORK) (authored by markj).
kevent: Hold the knlist mutex when invoking f_event(NOTE_FORK)
Tue, Nov 25, 2:03 PM
markj committed rGf8bf6f81d6c2: kevent: Hold the knlist mutex when invoking f_event(NOTE_FORK) (authored by markj).
kevent: Hold the knlist mutex when invoking f_event(NOTE_FORK)
Tue, Nov 25, 2:02 PM
markj accepted D53868: bpf: calculate net.bpf.stats buffer size dynamically.
Tue, Nov 25, 2:00 PM
db updated the diff for D53893: Fintek F81232 USB to serial driver.

Removing unecessary comment lines

Tue, Nov 25, 1:52 PM
kp committed rG238ad591da9e: libpfctl: improve error handling (authored by kp).
libpfctl: improve error handling
Tue, Nov 25, 1:50 PM
emaste committed rG9562994a7aac: kernel linker: Disable local sym resolution by default (authored by emaste).
kernel linker: Disable local sym resolution by default
Tue, Nov 25, 1:50 PM
emaste closed D47742: kernel linker: Disable local sym resolution by default.
Tue, Nov 25, 1:49 PM