Page MenuHomeFreeBSD

bhnd(4): Use a stable sort key to produce deterministic output
ClosedPublic

Authored by landonf on Dec 19 2016, 11:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 8, 9:54 AM
Unknown Object (File)
Mon, Mar 31, 4:37 PM
Unknown Object (File)
Mar 4 2025, 4:52 PM
Unknown Object (File)
Feb 23 2025, 12:23 AM
Unknown Object (File)
Feb 21 2025, 8:05 AM
Unknown Object (File)
Feb 20 2025, 3:16 AM
Unknown Object (File)
Feb 8 2025, 5:09 AM
Unknown Object (File)
Feb 1 2025, 7:55 AM
Subscribers

Details

Summary

Use a guaranteed unique sort key (var_id, rev_start, rev_end) when
ordering SROM layout entries; otherwise, we see non-deterministic output
for entries with overlapping var_ids.

Diff Detail

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

Event Timeline

landonf retitled this revision from to bhnd(4): Use a stable sort key to produce deterministic output.
landonf updated this object.
landonf edited the test plan for this revision. (Show Details)
landonf added reviewers: emaste, adrian.
landonf added subscribers: lidl, gjb.
adrian edited edge metadata.
This revision is now accepted and ready to land.Dec 19 2016, 11:14 PM

I tested this in my local WIP tree and confirm that I get the same output after each invocation.

This revision was automatically updated to reflect the committed changes.