[Oisf-devel] [PATCH 0/6] Align elements in 'trans_q' and 'data_queues' array

Holger Eitzenberger holger at eitzenberger.org
Thu Oct 24 06:07:20 UTC 2013


> > what follows is a small patchset for RFC which tries to address the
> > false sharing happening on both the 'trans_q' and 'data_queues'
> > arrays.  They are therefore a performance improvement on installations
> > having many queues.
> > 
> > Patches are against the 'master' branch.

> I couldn't apply these with "git am", and looking at them they don't
> look like git patches to, more like normal diffs. Am I missing something?

You are right, they are normal unified diffs.

> Actually manually applying them with patch -p1 < ... didn't work either:
> 
> victor at t400s:~/devel/eidps (holger)$ patch -p1 <
> ~/Desktop/git/20131024/\[PATCH\ 1_6\]\ Introduce\ NUM_QUEUES\ for\
> trans_q\[\]\ and\ data_queues\[\]\ -\ Holger\ Eitzenberger\
> \<holger at eitzenberger.org\>\ -\ 2013-10-23\ 1504.eml
> (Stripping trailing CRs from patch.)
> patching file src/suricata.h
> Hunk #1 FAILED at 115.
> 1 out of 1 hunk FAILED -- saving rejects to file src/suricata.h.rej
> 
> Did you use the git master @ 167597cfb0841cf7a6c2ad1fcc8dc6511d0cc03d?

Seems like the source I finally made the patches on is not up to date.
I'll change the patches so they apply against current HEAD.

 /Holger




More information about the Oisf-devel mailing list