[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAO6TR8UQ9VbqrfWdvFtvi9uogggMvbvTY2UFT2VwPgtxqModKQ@mail.gmail.com>
Date: Sat, 19 Dec 2015 15:22:50 -0700
From: Jeff Merkey <linux.mdb@...il.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: linux-kernel@...r.kernel.org, mingo@...hat.com, hpa@...or.com,
x86@...nel.org, peterz@...radead.org, luto@...nel.org
Subject: Re: [PATCH V3] Fix INT1 Recursion with unregistered breakpoints
On 12/19/15, Thomas Gleixner <tglx@...utronix.de> wrote:
> On Mon, 14 Dec 2015, Jeff Merkey wrote:
>> + /*
>> + * check if we got an execute breakpoint
>> + * from the dr7 register. if we did, set
>> + * the resume flag to avoid int1 recursion.
>
> Malformatted comment as any other comment you touched.
>
>> + */
>> + if ((dr7 & (3 << ((i * 4) + 16))) == 0)
>> + args->regs->flags |= X86_EFLAGS_RF;
>
> This still uses magic numbers instead of the proper defines. I asked
> for that before.
>
> Thanks,
>
> tglx
>
Yes Sir,
I'll get that fixed right away.
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists