Skip to contentSkip to conversation

ceph: use a shared zero page rather than one per messenger

PATCH Alex Elder 1 participant 1 message Feb 29, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Alex Elder

author
#1 lore raw

Neglected to copy the list on my response. -Alex

-------- Original Message --------
Subject: Re: [PATCH] ceph: use a shared zero page rather than one per messenger
Date: Tue, 28 Feb 2012 21:04:07 -0800
From: Alex Elder <[email protected]>
To: Christoph Hellwig <[email protected]>

Quoted 6 lines · Christoph Hellwig
Quoted 3 lines · Alex Elder

Each messenger allocates a page to be used when writing zeroes out in the event of error or other abnormal condition. Just allocate one at initialization time and have them all share it.

Any reason you don't simply use the kernel-wide ZERO_PAGE()?

No reason, I just didn't take the change to that logical conclusion. I'll update it to do that instead.

-Alex