Re: Problems using the new exi framework with nbd swap
Albert Herranz <[email protected]>
| Newsgroups | gmane.linux.ports.game-cube.devel |
|---|---|
| Message-ID | <[email protected]> |
Daniel Thompson <daniel <at> redfelineninja.org.uk> writes: > Agreed. After reading this I tried using another means to stress the BBA > and therefore the EXI bus. The following command issued from the 'cube > at my main Linux box caused a crash in less than a minute (with swap > to /dev/aram only): > > drt <at> cube:~$ ssh starfish dd if=/dev/zero > /dev/null > I took a closer look to it, and it seems better than expected. The get_rtc_time hook is not called from interrupt context, so we do not need to protect it. It will succeed. The set_rtc_time hook is called from user and interrupt context, depending on if you use the /dev/rtc interface or the adjtimex syscall. The good news is that the system is prepared for set_rtc_time to fail, so we can simply return an error if the exi channel is busy while trying to write to the rtc. I'll merge a patch on CVS to fix this. Cheers, Albert ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click