Re: tst-cputimer1 and tst-timer4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Mon, Jul 4, 2011 at 12:58 PM, John David Anglin <dave.anglin@xxxxxxxx> wrote:
>> Why would this mprotect fail with -EINVAL? It's not page aligned?
>> You can see the earlier mmap/mprotect from thread one's stack looks
>> page aligned.
> I believe that the stack value needs to be aligned.  See comment in
> arch_get_unmapped_area.  Not sure if this will fix mprotect.

What needs to be aligned, the stack value or the addr in a call to mprotect?

The latter, yes, that appears to be the case.

The stack will be at least aligned to the target requirement.

> I submitted a patch to return an error if  but there was no comment.


To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux