> > I agree with the first 3 patches, but not the last one. > Changing the API just for a performance hack is not necessary. Instead make > the algorithm smarter and use per-cpu values. >
Thanks for the feedback, I would very much prefer any of the other two approaches I tried (per-cpu pool and per-cpu for each fdb), from the two the second one - per-cpu for each fdb is much simpler, so would it be acceptable to do per-cpu allocation for each fdb ?