Attention is currently required from: laforge.

fixeria uploaded patch set #3 to this change.

View 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.

Gerrit-MessageType: newpatchset
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Id84973330df44b4efdd1bd85e4b7c3cb88642f92
Gerrit-Change-Number: 43151
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-CC: pespin <pespin@sysmocom.de>
Gerrit-Attention: laforge <laforge@osmocom.org>