RATIONALE: Ritonavir and lopinavir may stop the growth of gliomas by blocking some of the enzymes needed for cell growth and by blocking blood flow to the tumor. PURPOSE: This phase II trial is studying how well giving ritonavir together with lopinavir works in treating patients with progressive or recurrent high-grade glioma.