| To: | Stephen Lord <lord@xxxxxxx> |
|---|---|
| Subject: | Re: 2.4.20pre5aa2 |
| From: | Samuel Flory <sflory@xxxxxxxxxxxx> |
| Date: | Thu, 12 Sep 2002 17:06:03 -0700 |
| Cc: | Andrea Arcangeli <andrea@xxxxxxx>, Austin Gonyou <austin@xxxxxxxxxxxxxxx>, Christian Guggenberger <christian.guggenberger@xxxxxxxxxxxxxxxxxxxxxxxx>, Linux Kernel <linux-kernel@xxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx |
| References: | <20020911201602.A13655@pc9391.uni-regensburg.de> <1031768655.24629.23.camel@UberGeek.coremetrics.com> <20020911184111.GY17868@dualathlon.random> <3D81235B.6080809@rackable.com> <1031874330.1236.3.camel@snafu> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020826 |
Line 578 is BUG(); below:
mapit:
pb->pb_flags |= _PBF_MEM_ALLOCATED;
if (all_mapped) {
pb->pb_flags |= _PBF_ALL_PAGES_MAPPED;/* A single page buffer is always mappable */ if (page_count == 1) { pb->pb_addr = (caddr_t) page_address(pb->pb_pages[0]) + pb->pb_offset; pb->pb_flags |= PBF_MAPPED; } else if (flags & PBF_MAPPED) { if (as_list_len > 64) purge_addresses(); pb->pb_addr = vmap(pb->pb_pages, page_count); if (!pb->pb_addr) BUG(); pb->pb_addr += pb->pb_offset; pb->pb_flags |= PBF_MAPPED | _PBF_ADDR_ALLOCATED; } } /* If some pages were found with data in them * we are not in PBF_NONE state. */ if (good_pages != 0) { pb->pb_flags &= ~(PBF_NONE); if (good_pages != page_count) { pb->pb_flags |= PBF_PARTIAL; } } PB_TRACE(pb, PB_TRACE_REC(look_pg), good_pages); return rval; }
On Thu, 2002-09-12 at 18:29, Samuel Flory wrote: |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: 2.4.20pre5aa2, Stephen Lord |
|---|---|
| Next by Date: | Re: 2.4.20pre5aa2, Andrea Arcangeli |
| Previous by Thread: | Re: 2.4.20pre5aa2, Stephen Lord |
| Next by Thread: | Re: 2.4.20pre5aa2, Andrea Arcangeli |
| Indexes: | [Date] [Thread] [Top] [All Lists] |