On Mon, Apr 23, 2018 at 20:27:36 -0400, Emilio G. Cota wrote:
> On Fri, Apr 13, 2018 at 17:31:20 -1000, Richard Henderson wrote:
> > On 04/05/2018 04:13 PM, Emilio G. Cota wrote:
> > > +#ifdef CONFIG_DEBUG_TCG
> > > +
> > > +struct page_lock_debug {
> > > +const PageDesc *pd;
> > > +QLIST_E
On Fri, Apr 13, 2018 at 17:31:20 -1000, Richard Henderson wrote:
> On 04/05/2018 04:13 PM, Emilio G. Cota wrote:
> > +#ifdef CONFIG_DEBUG_TCG
> > +
> > +struct page_lock_debug {
> > +const PageDesc *pd;
> > +QLIST_ENTRY(page_lock_debug) entry;
> > +};
> > +
> > +static __thread QLIST_HEAD(,
On 04/05/2018 04:13 PM, Emilio G. Cota wrote:
> +#ifdef CONFIG_DEBUG_TCG
> +
> +struct page_lock_debug {
> +const PageDesc *pd;
> +QLIST_ENTRY(page_lock_debug) entry;
> +};
> +
> +static __thread QLIST_HEAD(, page_lock_debug) page_lock_debug_head;
> +
> +static struct page_lock_debug *get_p
This is only compiled under CONFIG_DEBUG_TCG to avoid
bloating the binary.
In user-mode, assert_page_locked is equivalent to assert_mmap_lock.
Note: There are some tb_lock assertions left that will be
removed by later patches.
Suggested-by: Alex Bennée
Signed-off-by: Emilio G. Cota
---
accel/