This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC][PR 67336][PING^6] Verify pointers during stack unwind
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Yuri Gribov <tetra2005 at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Ian Lance Taylor <ian at airs dot com>, Andrew Pinski <pinskia at gmail dot com>
- Date: Thu, 03 Aug 2017 19:04:36 +0200
- Subject: Re: [RFC][PR 67336][PING^6] Verify pointers during stack unwind
- Authentication-results: sourceware.org; auth=none
- References: <CAJOtW+4_FR+1zBiTvL_EBN7NGj-S9=7cR5Qsm560P7XsyLfFzA@mail.gmail.com>
* Yuri Gribov:
> I've rebased the previous patch to trunk per Andrew's suggestion.
> Original patch description/motivation/questions are in
> https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01869.html
What about the remaining TODOs?
> + if (__builtin_expect (msync ((void *)page, len, MS_ASYNC), 0))
> + return 0;
Is there any reason not to probe using mincore? It won't trigger
writeback.