Skip to content
  • Mark Johnston's avatar
    uma: Avoid polling for an invalid SMR sequence number · a04ce833
    Mark Johnston authored
    Buckets in an SMR-enabled zone can legitimately be tagged with
    SMR_SEQ_INVALID.  This effectively means that the zone destructor (if
    any) was invoked on all items in the bucket, and the contained memory is
    safe to reuse.  If the first bucket in the full bucket list was tagged
    this way, UMA would unnecessarily poll per-CPU state before attempting
    to fetch a full bucket from the list.
    MFC after:	2 weeks
    Sponsored by:	The FreeBSD Foundation