Attention is currently required from: laforge.
fixeria uploaded patch set #3 to this change.
linuxlist: drop no-op prefetch() calls
prefetch() has always been a no-op stub in this header so calling
it buys nothing at runtime. Drop all call sites and remove the
now-dead stub itself.
The macro was copied over from the Linux kernel back when
linuxlist.h was first added in 2010 [1], where prefetch() was a real,
arch-specific cache prefetch hint at the time. Upstream itself later
dropped prefetching from the regular list iterators in 2011 [2].
Change-Id: Id84973330df44b4efdd1bd85e4b7c3cb88642f92
Related: [1] ec8b4501c7 ("intial checkin of the libosmocore project")
Related: [2] e66eed651fd1 ("list: remove prefetching from regular list iterators")
Related: OS#7036, OS#6858
---
M include/osmocom/core/linuxlist.h
1 file changed, 17 insertions(+), 30 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/51/43151/3
To view, visit change 43151. To unsubscribe, or for help writing mail filters, visit settings.