Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 25ebfbd in mainline for kernel/generic/include/mm/slab.h


Ignore:
Timestamp:
2012-05-06T19:34:33Z (9 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
c8d0f9e5
Parents:
1295a1da
Message:

Make slab_mag_cache_t's spinlock IRQ safe.

  • slab_cache_destroy() was taking this lock while interrupts were not disabled.
  • Some TLB shootdown sequences could allocate memory, which may involve taking the lock.
  • The above could lead to a deadlock if one CPU took the lock and another one started the TLB shootdown sequence which also takes this lock.
File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.