Re: Thread stack allocation

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

 



On 9-Sep-12, at 1:52 PM, John David Anglin wrote:

40751000-40755000 rwxp 00000000 00:00 0 [stack:22180]


It seems to me this must be a kernel bug:
Breakpoint 13, __mmap (addr=0x0, len=1572864, prot=7, flags=18, fd=-1,
    offset=0) at ../ports/sysdeps/unix/sysv/linux/hppa/mmap.c:36
36	{
(gdb) disass
Dump of assembler code for function __mmap:
=> 0x406cd270 <+0>:	stw rp,-14(sp)
   0x406cd274 <+4>:	stw,ma r4,40(sp)
   0x406cd278 <+8>:	ldw -78(sp),r21
   0x406cd27c <+12>:	stw r19,-20(sp)
   0x406cd280 <+16>:	ldw -74(sp),r22
   0x406cd284 <+20>:	copy r19,r4
   0x406cd288 <+24>:	be,l 100(sr2,r0),sr0,r31
   0x406cd28c <+28>:	ldi 5a,r20

The return from this syscall is the above region.

--
John David Anglin	dave.anglin@xxxxxxxx



--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux