Add comment explaining why CACHE_LINE_SIZE is defined in nvme_private.h
if not already defined elsewhere. Requested by: attilio MFC after: 3 days
This commit is contained in:
parent
e9efbc134f
commit
bd6b0ac5be
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253113
@ -109,6 +109,10 @@ MALLOC_DECLARE(M_NVME);
|
||||
/* Maximum log page size to fetch for AERs. */
|
||||
#define NVME_MAX_AER_LOG_SIZE (4096)
|
||||
|
||||
/*
|
||||
* Define CACHE_LINE_SIZE here for older FreeBSD versions that do not define
|
||||
* it.
|
||||
*/
|
||||
#ifndef CACHE_LINE_SIZE
|
||||
#define CACHE_LINE_SIZE (64)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user