Page MenuHomeFreeBSD

hide map entry next and prev fields
ClosedPublic

Authored by dougm on Nov 13 2019, 4:25 AM.
Tags
None
Referenced Files
F173218674: D22347.id64272.diff
Thu, Sep 24, 9:43 AM
F173121746: D22347.id64276.diff
Wed, Sep 23, 6:32 PM
F173095042: D22347.id64272.diff
Wed, Sep 23, 1:32 PM
Unknown Object (File)
Tue, Sep 22, 3:04 PM
Unknown Object (File)
Mon, Sep 21, 6:53 PM
Unknown Object (File)
Sun, Sep 20, 9:18 PM
Unknown Object (File)
Thu, Sep 17, 11:53 PM
Unknown Object (File)
Thu, Sep 17, 11:28 PM
Subscribers

Details

Summary

Define wrapper functions vm_map_entry_{succ,pred} to act as wrappers around entry->{next,prev} when those are used for ordered list traversal, and use those wrapper functions everywhere. Where the next field is used for maintaining a stack of deferred operations, #define defer_next to make that different usage clearer, and then use the 'right' pointer instead of 'next' for that purpose.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Thanks. If you plan to commit this patch on its own, I'd suggest adding a comment above defer_next, even though that definition would be deleted shortly after.

This revision is now accepted and ready to land.Nov 13 2019, 3:24 PM