Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mistypeing in the hbucket() macro fixed. | Jozsef Kadlecsik | 2010-12-16 | 1 | -2/+6 |
| | |||||
* | Convert last printks to pr_debug in ip_set_ahash.h | Jozsef Kadlecsik | 2010-12-13 | 1 | -4/+2 |
| | |||||
* | Remove remnants of slist from ip_set_ahash.h | Jozsef Kadlecsik | 2010-12-13 | 1 | -3/+2 |
| | |||||
* | Add proper RCU protection to resizing | Jozsef Kadlecsik | 2010-12-10 | 1 | -18/+38 |
| | | | | | | | Resizing can be triggered by userspace command only, and those are serialized by the nfnl mutex. During resizing the set is read-locked, so the only possible concurrent operations are the kernel side readers. Those must be protected by proper RCU locking. | ||||
* | Convert hash types from chash to ahash. | Jozsef Kadlecsik | 2010-12-10 | 1 | -0/+1057 |
Instead of the cache friendly hashing, use the array based hashing. According to my tests the latter uses less memory, faster at lookup and deletion, and only slower at insertion. |