Page allocation and de-allocation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Page allocation and de-allocation
- From: Xiangfei Jia <xjianz@xxxxxxxxx>
- Date: Thu, 6 Oct 2005 15:07:50 +1300
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=VLWsjcNNI82daGYrfWwTmUodtD/AfioFyfP6QS+LZBT/5qUaF8vsBAmiV4u5LHB6fzNszNh3Yiq1MSqexkfwT4S3giQD0S5VS5fKmamZEh+hj0Xk1lpvtSzsTljknkJhgnLtmulhAl+XPy8MTfL6AXfyFTEA2b3bi52eBcEv/2o=
- Reply-to: Xiangfei Jia <xjianz@xxxxxxxxx>
I'm using an array to hold number of pages. The array is allocated
using vmalloc and each page is allocated by
get_free_page(GFP_ATOMIC). And after use, the number of pages are
free-ed by __free_page().
The system works fine if the array of pages are allocated for the first
time since the system started running. If I try to allocate the same
amount of pages for the second time, the system will crash. Even if I
try to allocate less pages, the system still crashes. It seems to me
that the the pages been allocated are not really free-ed. Or maybe due
to some other problems. Can someone help me with this. Really
appropriated!!
Thanks!
Fei
[Index of Archives]
[Newbies FAQ]
[Linux Kernel Mentors]
[Linux Kernel Development]
[IETF Annouce]
[Git]
[Networking]
[Security]
[Bugtraq]
[Yosemite]
[MIPS Linux]
[ARM Linux]
[Linux RAID]
[Linux SCSI]
[Linux ACPI]