Re: free a slab object

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi again..


> Maybe your explanation is reasonable.
> But I still can not understand why it put the last free object forward as
> the first and the current released object as the second? Is it redundant?

I forgot to add something. Current released object index (number) is
recorded, so that it will be the first one taken when another
allocation of the same object happens. Why? Because likely it is still
"hot" in cpu cache.. thus improving perfomance.

regards,

Mulyadi

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux