Loading ...
Sorry, an error occurred while loading the content.
 

Re: [nslu2-linux] Is swap space endian-sensitive?

Expand Messages
  • John Reiser
    ... It s an endian-sensitive performance issue. A swap partition is not just a big blob of disk space with a label. A persistent on-disk data structure
    Message 1 of 2 , Jan 2, 2007
      > Hey kernel experts - is the swap partition supposed to be endian-sensitive?
      > (the swap space was "mkswap"d on SlugOS/LE, this is from a SlugOS/BE kernel)

      > "Unable to handle swap header version 16777216"

      It's an endian-sensitive performance issue. A swap partition is not just
      a big blob of disk space with a label. A persistent on-disk data structure
      allows for avoiding the use of bad blocks, etc., and there is a cost in
      code space and complexity for making the storage and access endian-ambivalent.
      For modern desktop and server machines the cost might be trivial, but for
      embedded use everything matters. The workaround to allow for changing
      endianness is to mkswap [just] before swapon, and you must be sure to perform
      the mkswap with correct parameters.

      --
    Your message has been successfully submitted and would be delivered to recipients shortly.