Page MenuHomeFreeBSD

kib (Konstantin Belousov)
User

Projects

User Details

User Since
May 16 2014, 7:35 PM (605 w, 4 d)

Recent Activity

Today

kib added a comment to D54279: nfsd.8: Add a short paragraph w.r.t. NFSv3 vs NFSv4 setup.

Thank you.

Wed, Dec 24, 2:24 AM
kib committed rGe6bdbc17bec4: vm_fault_trap(): fix comments grammar (authored by kib).
vm_fault_trap(): fix comments grammar
Wed, Dec 24, 12:47 AM
kib committed rGb29fb0b5259c: devfs: make destroy_dev() a release barrier for cdevpriv destructors runs (authored by kib).
devfs: make destroy_dev() a release barrier for cdevpriv destructors runs
Wed, Dec 24, 12:47 AM
kib committed rG478098563e21: vm_fault_trap(): fix comments grammar (authored by kib).
vm_fault_trap(): fix comments grammar
Wed, Dec 24, 12:42 AM
kib committed rGd7bc2ee3dedd: vm_object_coalesce(): check that coalescing does not revive stale pages (authored by kib).
vm_object_coalesce(): check that coalescing does not revive stale pages
Wed, Dec 24, 12:42 AM
kib committed rG7dc87eef4695: swap_pager_seek_data(): move the clipping at the object size to consumers (authored by kib).
swap_pager_seek_data(): move the clipping at the object size to consumers
Wed, Dec 24, 12:42 AM
kib committed rG6397c1478ac2: swap_pager_seek_data(): improve assertions (authored by kib).
swap_pager_seek_data(): improve assertions
Wed, Dec 24, 12:42 AM

Yesterday

kib added a comment to D54279: nfsd.8: Add a short paragraph w.r.t. NFSv3 vs NFSv4 setup.

Still, the mail that was sent and contained the exact instructions was useful. This patch just repeats the description from rc.conf.5. Without the exact recipes as was done in the mail, it is probably not useful.

Tue, Dec 23, 11:10 PM
kib abandoned D53891: Fixes for dreaded assert in jemalloc page allocator AKA mmap(MAP_ANON) providing non-zeroed pages.
Tue, Dec 23, 4:47 AM

Mon, Dec 22

kib accepted D49330: vnode_pager: use ptoa(), atop().
Mon, Dec 22, 11:12 PM
kib added a comment to D54338: vm_object_coalesce(): return swap reservation back if overcharged.

NB: this is still being tested by Peter, I decided to go ahead and publish the review as an early exposure

Mon, Dec 22, 12:52 PM
kib requested review of D54338: vm_object_coalesce(): return swap reservation back if overcharged.
Mon, Dec 22, 12:51 PM
kib committed rG183513d15f22: sys/netipsec: ensure sah stability during input callback processing (authored by kib).
sys/netipsec: ensure sah stability during input callback processing
Mon, Dec 22, 12:34 PM
kib closed D54325: sys/netipsec: ensure sah stability during input callback processing.
Mon, Dec 22, 12:34 PM

Sun, Dec 21

kib added inline comments to D49330: vnode_pager: use ptoa(), atop().
Sun, Dec 21, 11:40 PM
kib accepted D54327: geom(9): struct bio KBI fix.

I suppose this is for stable/15, right?

Sun, Dec 21, 10:26 PM
kib closed D52567: vm/vm_fault.c: update and split comments for vm_fault() and vm_fault_trap().
Sun, Dec 21, 10:25 PM
kib committed rG95788a851deb: vm_fault_trap(): fix comments grammar (authored by kib).
vm_fault_trap(): fix comments grammar
Sun, Dec 21, 10:06 PM
kib closed D54335: vm_fault_trap(): fix comments grammar.
Sun, Dec 21, 10:06 PM
kib added inline comments to D54327: geom(9): struct bio KBI fix.
Sun, Dec 21, 10:04 PM
kib added a comment to D52567: vm/vm_fault.c: update and split comments for vm_fault() and vm_fault_trap().

D54335

Sun, Dec 21, 9:24 PM
kib requested review of D54335: vm_fault_trap(): fix comments grammar.
Sun, Dec 21, 9:24 PM
kib accepted D49330: vnode_pager: use ptoa(), atop().
Sun, Dec 21, 8:47 PM
kib abandoned D53965: vm_object_coalesce(): do not account holes twice.
Sun, Dec 21, 6:11 PM
kib added a comment to D53965: vm_object_coalesce(): do not account holes twice.
In D53965#1241683, @alc wrote:

This change is now similar to D43263. Abandon this one?

Sun, Dec 21, 6:10 PM
kib added inline comments to D54327: geom(9): struct bio KBI fix.
Sun, Dec 21, 12:47 PM
kib committed rG84a265d9ace3: vmem.9: provide a reference to libuvmem(3) (authored by kib).
vmem.9: provide a reference to libuvmem(3)
Sun, Dec 21, 3:57 AM

Sat, Dec 20

kib added inline comments to D54323: krb5: Expose missing symbols.
Sat, Dec 20, 6:14 PM
kib added a comment to D54325: sys/netipsec: ensure sah stability during input callback processing.

I have to keep sah tree rlocked much deeper, right until the if_input is called finally. Also, the same problem exists for all ESP/AH/IPCOMP processing callbacks.

Sat, Dec 20, 12:07 PM
kib requested review of D54325: sys/netipsec: ensure sah stability during input callback processing.
Sat, Dec 20, 12:06 PM
kib added a comment to D54323: krb5: Expose missing symbols.

Also the ports:misc/compat15x needs to be updated.

Sat, Dec 20, 11:44 AM
kib added a comment to D54296: PR 291774: expand range of errors reported by libusb_open(3).

I have no idea about USB code

Sat, Dec 20, 11:33 AM · USB
kib added a comment to D54323: krb5: Expose missing symbols.

Can you pleas explain

  1. how the list of missed symbols was obtained
  2. why do we need the internallib for krb5profile now
Sat, Dec 20, 10:31 AM

Thu, Dec 18

kib updated the diff for D54263: vm_object_coalesce(): do not account holes twice.

Use next_end

Thu, Dec 18, 10:17 PM
kib committed rG5c1d9df10b78: vmem.9: provide a reference to libuvmem(3) (authored by kib).
vmem.9: provide a reference to libuvmem(3)
Thu, Dec 18, 8:15 PM
kib updated subscribers of D54263: vm_object_coalesce(): do not account holes twice.
Thu, Dec 18, 7:41 PM
kib added inline comments to D54279: nfsd.8: Add a short paragraph w.r.t. NFSv3 vs NFSv4 setup.
Thu, Dec 18, 3:27 AM

Wed, Dec 17

kib added a comment to D54229: unionfs: Support renaming symbolic links.
In D54229#1240206, @des wrote:

Can I please get a decision on this?

Wed, Dec 17, 6:35 PM
kib added reviewers for D54270: libc/stdlib: port illumos#15365: strtonumx() would be a useful companion to strtonum(): des, emaste.
Wed, Dec 17, 4:30 PM
kib accepted D54270: libc/stdlib: port illumos#15365: strtonumx() would be a useful companion to strtonum().

This looks fine to me, but I prefer to have more eyes on it before is is engraved into the libc.

Wed, Dec 17, 4:30 PM
kib accepted D54268: vmem: Fix the gcc build.
Wed, Dec 17, 2:37 PM
kib accepted D54225: LinuxKPI: Implement vmap_pfn.
Wed, Dec 17, 1:59 PM
kib added inline comments to D54225: LinuxKPI: Implement vmap_pfn.
Wed, Dec 17, 1:40 PM
kib requested review of D54263: vm_object_coalesce(): do not account holes twice.
Wed, Dec 17, 4:38 AM
kib committed rGf94bfc469df9: vm_object_coalesce(): check that coalescing does not revive stale pages (authored by kib).
vm_object_coalesce(): check that coalescing does not revive stale pages
Wed, Dec 17, 3:54 AM
kib committed rG30ae88e3b217: swap_pager_seek_data(): move the clipping at the object size to consumers (authored by kib).
swap_pager_seek_data(): move the clipping at the object size to consumers
Wed, Dec 17, 3:54 AM
kib closed D54219: vm_object_coalesce(): check that coalescing does not revive stale pages.
Wed, Dec 17, 3:53 AM
kib committed rGbdfd695037a9: swap_pager_seek_data(): improve assertions (authored by kib).
swap_pager_seek_data(): improve assertions
Wed, Dec 17, 3:53 AM
kib added a comment to D54258: tmpfs: Fix comparison in tmpfs_extattr_update_mem().
In D54258#1239826, @kib wrote:

This is only relevant for 32bit arches, am I right? (I do not claim that it is not a bug to fix).

Hmm, now that I look at it again, I think this patch is just bogus, and there is no problem. If size < 0 and size is promoted to an unsigned type, addition with tm_ea_memory_inuse will cause wraparound and the result will be correct. It does not make much sense to perform the comparison at all if size < 0, but I think there is no problem, even on 32-bit arches. I did not test it at all yet.

Wed, Dec 17, 3:50 AM

Tue, Dec 16

kib updated the diff for D54219: vm_object_coalesce(): check that coalescing does not revive stale pages.

Correct the article in comment.

Tue, Dec 16, 6:31 PM
kib added a comment to D54258: tmpfs: Fix comparison in tmpfs_extattr_update_mem().

This is only relevant for 32bit arches, am I right? (I do not claim that it is not a bug to fix).

Tue, Dec 16, 6:27 PM
kib added inline comments to D54225: LinuxKPI: Implement vmap_pfn.
Tue, Dec 16, 3:37 PM
kib updated the diff for D54219: vm_object_coalesce(): check that coalescing does not revive stale pages.

Fix pend (and eliminate).

Tue, Dec 16, 8:22 AM
kib accepted D54009: sys/_types.h: avoid use of __has_feature().
Tue, Dec 16, 6:46 AM
kib added a comment to D54221: Revert "Additional icache paranoia: non-PLT relocations can modify the text segment.".

Ok, if somebody from the powerpc crowd confirm that the isync is redundant there, I am fine with that.
If not, I put a sketch for my proposal at D54246.

Tue, Dec 16, 6:20 AM
kib added a comment to D54246: powerpc64: only sync icache if we relocated in executable segment.

Not even compiled.

Tue, Dec 16, 6:19 AM
kib requested review of D54246: powerpc64: only sync icache if we relocated in executable segment.
Tue, Dec 16, 6:17 AM
kib updated the diff for D54219: vm_object_coalesce(): check that coalescing does not revive stale pages.

Remove pstart.
Remove clipping from swap_pager_seek_data(), so that PG_ZERO check can see all pages in the object.

Tue, Dec 16, 5:38 AM
kib added inline comments to D54219: vm_object_coalesce(): check that coalescing does not revive stale pages.
Tue, Dec 16, 5:35 AM
kib added inline comments to D54229: unionfs: Support renaming symbolic links.
Tue, Dec 16, 5:16 AM
kib committed rGe5fbddef958d: ofed/libibverbs: remove no longer needed local alloca.h (authored by kib).
ofed/libibverbs: remove no longer needed local alloca.h
Tue, Dec 16, 4:59 AM
kib committed rG0cfd862d4769: ofed/libibverbs: remove strdupa() hack from config.h (authored by kib).
ofed/libibverbs: remove strdupa() hack from config.h
Tue, Dec 16, 4:58 AM
kib committed rG242f545e4e31: libc/string: add strdupa(3) and strndupa(3) (authored by kib).
libc/string: add strdupa(3) and strndupa(3)
Tue, Dec 16, 4:58 AM
kib committed rG90c370615158: ofed/libibverbs: remove no longer needed local alloca.h (authored by kib).
ofed/libibverbs: remove no longer needed local alloca.h
Tue, Dec 16, 4:58 AM
kib committed rG477c4645bbcc: libc/string: put source files list one item per line (authored by kib).
libc/string: put source files list one item per line
Tue, Dec 16, 4:58 AM
kib committed rGdd1a76f1d969: ofed/libibverbs: remove strdupa() hack from config.h (authored by kib).
ofed/libibverbs: remove strdupa() hack from config.h
Tue, Dec 16, 4:58 AM
kib committed rGb2e649a0b98d: libc/string: add strdupa(3) and strndupa(3) (authored by kib).
libc/string: add strdupa(3) and strndupa(3)
Tue, Dec 16, 4:58 AM
kib added inline comments to D54225: LinuxKPI: Implement vmap_pfn.
Tue, Dec 16, 4:56 AM
kib closed D54234: proc_dtor(): style improvements.
Tue, Dec 16, 4:44 AM
kib committed rG9b943425fd90: proc_dtor(): style improvements (authored by kib).
proc_dtor(): style improvements
Tue, Dec 16, 4:44 AM
kib added inline comments to D54229: unionfs: Support renaming symbolic links.
Tue, Dec 16, 4:33 AM

Mon, Dec 15

kib requested review of D54234: proc_dtor(): style improvements.
Mon, Dec 15, 2:47 PM
kib updated the diff for D54219: vm_object_coalesce(): check that coalescing does not revive stale pages.

swap_pager_seek_data(): check for the swap object, this is what the function assumes

Mon, Dec 15, 2:41 PM
kib committed rG99f641267d44: vm_fault: only rely on PG_ZERO when the page was newly allocated (authored by kib).
vm_fault: only rely on PG_ZERO when the page was newly allocated
Mon, Dec 15, 10:43 AM
kib committed rG76dc56765afd: vm_page.h: remove no longer defined (P) locking annotation (authored by kib).
vm_page.h: remove no longer defined (P) locking annotation
Mon, Dec 15, 10:43 AM
kib committed rG3c0942f99209: vm_fault: only rely on PG_ZERO when the page was newly allocated (authored by kib).
vm_fault: only rely on PG_ZERO when the page was newly allocated
Mon, Dec 15, 10:39 AM
kib committed rG64b3757b4d85: vm_page.h: remove no longer defined (P) locking annotation (authored by kib).
vm_page.h: remove no longer defined (P) locking annotation
Mon, Dec 15, 10:39 AM
kib added inline comments to D54225: LinuxKPI: Implement vmap_pfn.
Mon, Dec 15, 10:30 AM

Sun, Dec 14

kib added a comment to D54221: Revert "Additional icache paranoia: non-PLT relocations can modify the text segment.".

IMO the commits that added the icache sync were done due to some actual problems seen.

Probably due to a broken pmap (at least at the time) then.

Sun, Dec 14, 3:59 PM
kib added a comment to D54221: Revert "Additional icache paranoia: non-PLT relocations can modify the text segment.".

in principle, non-plt relocations can modify any kind of segments. There are DT_TEXTREL binries, as well as nothing in ELF spec prevents existence of PF_W|PF_X segment with relocs.
IMO the commits that added the icache sync were done due to some actual problems seen.

Sun, Dec 14, 3:44 PM
kib added a comment to D54214: vfs: Let prison_enforce_statfs zero the fsid.
In D54214#1238647, @des wrote:

@kib can you also please take a look at the PR? the originator claims this used to work as recently as 14.2 but I see no evidence that it has ever worked, the code to zero out the fsid has been there since 1997.

Sun, Dec 14, 1:14 PM
kib accepted D54215: proc: Fix proc_init / proc_dtor ordering issues.

Indeed, p_klist initialization should not be moved into constructor, since it is cleared in exit1() (and should not be done in destructor, I believe). Then it would leak in each case where exit1() is not called, i.e. fork failures.
For mac, I have no idea what modules expect, so IMO it is better to keep them as is.

Sun, Dec 14, 11:31 AM
kib added a comment to D53891: Fixes for dreaded assert in jemalloc page allocator AKA mmap(MAP_ANON) providing non-zeroed pages.

So lets split this review, hopefully to revive it.

Sun, Dec 14, 9:41 AM
kib requested review of D54219: vm_object_coalesce(): check that coalescing does not revive stale pages.
Sun, Dec 14, 9:40 AM
kib added a comment to D54215: proc: Fix proc_init / proc_dtor ordering issues.
In D54215#1238587, @kib wrote:

IMO it would be more proper to move the initialization into proc_init().

Sun, Dec 14, 3:44 AM
kib accepted D54214: vfs: Let prison_enforce_statfs zero the fsid.
Sun, Dec 14, 2:13 AM
kib added a comment to D54215: proc: Fix proc_init / proc_dtor ordering issues.

IMO it would be more proper to move the initialization into proc_init().

Sun, Dec 14, 2:12 AM

Sat, Dec 13

kib added a comment to D54198: ichwd: Don't disable watchdog when rebooting.

I think users must have ability to get back to the previous behavior. Might be add a sysctl to tweak it.

Sat, Dec 13, 1:45 AM

Thu, Dec 11

kib added a comment to D50848: eventfd: Rename `struct eventfd` to `struct eventfd_ctx`.

It is really eventfd data, so might be slightly better to call it eventfd_data. I do not object to proposal to rename the FreeBSD own structure,

Thu, Dec 11, 1:08 AM

Tue, Dec 9

kib committed rG36b12ea1fbfb: lib/libc: add FBSD-1.9 to Versions.def (authored by fuz).
lib/libc: add FBSD-1.9 to Versions.def
Tue, Dec 9, 1:24 AM
kib committed rG7be091979260: libuvmem: provide man page mostly as a pointer to vmem(9) (authored by kib).
libuvmem: provide man page mostly as a pointer to vmem(9)
Tue, Dec 9, 12:30 AM
kib committed rG3ae14e8f332f: libuvmem: usermode port of vmem(9) (authored by kib).
libuvmem: usermode port of vmem(9)
Tue, Dec 9, 12:30 AM
kib committed rGc4b0e25fa1f3: kern/subr_vmem.c: remove unused VMEM_TRYLOCK() macro (authored by kib).
kern/subr_vmem.c: remove unused VMEM_TRYLOCK() macro
Tue, Dec 9, 12:29 AM
kib committed rGccb0a245dff8: kern/subr_vmem.c: convert explicit vmem_list_lock use to macros (authored by kib).
kern/subr_vmem.c: convert explicit vmem_list_lock use to macros
Tue, Dec 9, 12:29 AM
kib committed rG70edd3c126a5: ofed/libibverbs: remove no longer needed local alloca.h (authored by kib).
ofed/libibverbs: remove no longer needed local alloca.h
Tue, Dec 9, 12:21 AM
kib committed rG6a75e3951506: ofed/libibverbs: remove strdupa() hack from config.h (authored by kib).
ofed/libibverbs: remove strdupa() hack from config.h
Tue, Dec 9, 12:21 AM
kib committed rG98b7cca0186d: libc/string: put source files list one item per line (authored by kib).
libc/string: put source files list one item per line
Tue, Dec 9, 12:21 AM
kib committed rGa98e5d785001: libc/string: add strdupa(3) and strndupa(3) (authored by kib).
libc/string: add strdupa(3) and strndupa(3)
Tue, Dec 9, 12:21 AM
kib closed D54066: libc: add strdupa(3) and strndupa(3).
Tue, Dec 9, 12:21 AM

Mon, Dec 8

kib committed rGcff67bc43df1: vm_fault: only rely on PG_ZERO when the page was newly allocated (authored by kib).
vm_fault: only rely on PG_ZERO when the page was newly allocated
Mon, Dec 8, 10:34 PM