User Details
- User Since
- May 16 2014, 7:35 PM (604 w, 6 d)
Yesterday
Use next_end
Wed, Dec 17
This looks fine to me, but I prefer to have more eyes on it before is is engraved into the libc.
Tue, Dec 16
Correct the article in comment.
This is only relevant for 32bit arches, am I right? (I do not claim that it is not a bug to fix).
Fix pend (and eliminate).
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.
Not even compiled.
Remove pstart.
Remove clipping from swap_pager_seek_data(), so that PG_ZERO check can see all pages in the object.
Mon, Dec 15
swap_pager_seek_data(): check for the swap object, this is what the function assumes
Sun, Dec 14
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.
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.
So lets split this review, hopefully to revive it.
IMO it would be more proper to move the initialization into proc_init().
Sat, Dec 13
I think users must have ability to get back to the previous behavior. Might be add a sysctl to tweak it.
Thu, Dec 11
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,
Tue, Dec 9
Mon, Dec 8
Fri, Dec 5
Switch to macros.
This cannot work, alloca result is only valid for the duration of the current frame.
The functions can be moved to string.h as __always_inline, but I suspect that this would cause compat issues with weird compilers.
Thu, Dec 4
strndupa is from glibc as well
Wed, Dec 3
Tue, Dec 2
Thanks.
Indeed, the explicitly stated motivation, at least in the commit message, would be quite useful.
