Reasons

From OpenMosixWiki

Jump to: navigation, search


There are a couple of reasons why applications don't migrate in openMosix

Look at include/hpc/hpctask.h for a better understanding of all reasons to not migrate. not very exhaustive but helful. (start at #define STAYFORMONKEY) As Tab described on the mailinglist :


  1. define DSTAYFORMONKEY 0x00000001 / using monkey vnode /
  2. define DSTAYFORDEV 0x00000002 / mapping a device /
  3. define DSTAYFOR86 0x00000004 / running in 86 mode /
  4. define DSTAYITSDAEMON 0x00000008 / daemon process /
  5. define DSTAYFORPRIV 0x00000010 / privilleged inst. access (in/out) /
  6. define DSTAYFORMLOCK 0x00000020 / has locked memory /
  7. define DSTAYFORCLONE 0x00000040 / shared VM, eliminate this once DSM/
  8. define DSTAYFORRT 0x00000080 / Real-Time scheduling /
  9. define DSTAYFORIOPL 0x00000100 / direct I/O permission /
  10. define DSTAYITSINIT 0x00000200 / init process /
  11. define DSTAYFORKIOBUF 0x00000400 / using kiobuf /
  12. define DSTAY_OTHER1 0x01000000 / external reason for stay (1) /
  13. define DSTAY_OTHER2 0x02000000 / external reason for stay (2) /
  14. define DSTAY_OTHER3 0x04000000 / external reason for stay (3) /
  15. define DSTAY_OTHER4 0x08000000 / external reason for stay (4) /
  16. define DNOMIGRATE 0x80000000 / user requested no auto-migrations /
Personal tools