User Details
- User Since
- May 16 2014, 7:35 PM (599 w, 3 d)
Yesterday
Sat, Nov 8
Fri, Nov 7
Thu, Nov 6
Assert always true condition, instead of checking for it.
I do not object. tmpfs_mem_avail() is too naive without or with this augmentation.
Wed, Nov 5
This is still a bad code. It allows two threads to race to cause rctl idea of the proc ucred to be different from the actual curproc->p_ucred.
Fix attribution. Remove two articles.
Tue, Nov 4
Add note about valid contexts.
After this goes in, I will write the documentation for buf(9) and bio(9) BIO_EXTERR. This cannot be done in the same commit, because buf/bio layout are changed by exterr, which seems to prevent the merge into the stable branches (I did not decided yet).
The actions that are prevented by atomic_load_ptr() are basically arbitrary reloads of si_drv1 at places where the tp value is needed. Epoch, being fenced by compiler membar, already disables that.
EPOCH_ENTER_PREEMPT() should be at least as strong as compiler membarrier, and it is indeed due to use of critical enter, so I do not think that si_drv1 can be re-loaded outside the epoch region. It does not hurt of course to use explicit load_ptr().
Mon, Nov 3
Still, add the comment please.
Sun, Nov 2
Rebase
Sat, Nov 1
Fri, Oct 31
Clear TDB_USERWR under proc lock. Do it earlier.
Thu, Oct 30
That said, I disagree that this is a kernel bug at all.
Wed, Oct 29
Alan. do you plan to comment on this?
Tue, Oct 28
I strongly do not like this, esp the proliferation of PMAP_HAS_DMAP into MD code.
Debugged version. Worked for me with the artificial random errors returned from md(4) start_swap() on BIO_READ.
