[lkml]   [2013]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v4 07/18] perf: add generic memory sampling interface
> Why dont use enums for this?

enums can have unpredictable signed/unsignedness issues. #defines for
hardware constants is usually far safer.


-- -- Speaking for myself only

 \ /
  Last update: 2013-01-06 08:21    [W:0.137 / U:3.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site