DescriptionPartitionAlloc: simplify PartitionPage structure some more.
Two important simplifications:
1) Remove the foul union. It isn't necessary if we don't try and put pages on
the active and free lists at the same time. Instead, we can simply tag free
pages as free and mop them up when we next walk the active pages list.
2) Remove the flags field. It's strictly a duplication of information we have
available in other fields. And we hate duplication because it will get out of
sync and cause bugs.
Also, the freed up field can likely be profitably used to avoid having to
re-introduce a union later.
BUG=332282
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165036
Patch Set 1 #
Total comments: 1
Patch Set 2 : Review. #Patch Set 3 : Rebase. #Patch Set 4 : Fix bug. #
Messages
Total messages: 9 (0 generated)
|