Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 21 Dec 2018 11:38:16 -0800
From: Nadav Amit <>
To: Igor Stoppa <>
Cc: Andy Lutomirski <>,
 Matthew Wilcox <>,
 Peter Zijlstra <>,
 Dave Hansen <>,
 Mimi Zohar <>,,
 Kees Cook <>,,,,
Subject: Re: [PATCH 03/12] __wr_after_init: generic header

> On Dec 19, 2018, at 1:33 PM, Igor Stoppa <> wrote:
> +static inline void *wr_memset(void *p, int c, __kernel_size_t len)
> +{
> +	return __wr_op((unsigned long)p, (unsigned long)c, len, WR_MEMSET);
> +}

What do you think about doing something like:

#define __wr          __attribute__((address_space(5)))

And then make all the pointers to write-rarely memory to use this attribute?
It might require more changes to the code, but can prevent bugs.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.