Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!mcsun!hp4nl!utrcu1!mi.eltn.utwente.nl!klamer From: klamer@mi.eltn.utwente.nl (Klamer Schutte) Newsgroups: comp.os.minix Subject: Re: About Minix 68k Message-ID: Date: 2 May 91 08:43:41 GMT References: <52171@nigel.ee.udel.edu> Sender: news@utrcu1.UUCP Organization: University of Twente, BSC-El Lines: 26 In <52171@nigel.ee.udel.edu> breure%ITIHP1.TNO.NL@pucc.princeton.edu (Frank Breure) writes: ->Hello, ->last weeks, a few people mentioned that you could easily increase ->the number of cache buffers on the 68K version. ->IMHO this is true WITH RESTRICTIONS, because the ACK - compiler ->uses 16bit the maximum size of an array is 64k. ->If you want more cache buffers than 62 (one cache buffer is bigger ->than 1k because it's hold in a struct with some other information ->about the buffer status). ->Anytime I try to boot a kernel with NR_CACHE_BUFS > 62 it hangs in ->the startup, on an ST (running Minix 1.5.10.3) this means that the ->screen will remain white. What you have to do is: 1) increase the hash size together with NR_CACHE_BUFS 2) be sure that the pointer arithmetic is done with longs. If you do that the compiler will also do all in longs. Klamer -- Klamer Schutte Faculty of electrical engineering -- University of Twente, The Netherlands klamer@mi.eltn.utwente.nl {backbone}!mcsun!mi.eltn.utwente.nl!klamer