Re: Compaq Alpha: missing i-cache invalidates in ptrace (2.2.18, 2.4.0) ?

James Cownie (jcownie@etnus.com)
Thu, 15 Feb 2001 13:32:55 +0000


Jeff Garzik asked :-

> Does the same Alpha problem exist in 2.4.1-AC patches? (Alan Cox's
> patchkit)

It looks as if there's a very suitable fix in kernel/ptrace.c .

In access_one_page we have

if (write) {
maddr = kmap(page);
memcpy(maddr + (addr & ~PAGE_MASK), buf, len);
flush_page_to_ram(page);
flush_icache_page(vma, page);
kunmap(page);
}

which looks ideal to me...

That still leaves 2.2 broken, though :-(

-- Jim

James Cownie <jcownie@etnus.com>
Etnus, LLC. +44 117 9071438
http://www.etnus.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/